Hi Team,
Could someone help me with limiting the memory utilized by AppDynamics machine agent to 100MB. I tried starting the machine agent with Xms and Xmx parameter like below, but that did not help in limiting the memory used by machine agent.
nohup java -jar /appdynamics/machine-agent/machineagent.jar -Xmx100m -Xms64m &
Thanks,
Santosh
Make sure you pass the options before specifying the jar. e.g.:
$ java -Xmx100m -Xms64m -jar /appdynamics/machine-agent/machineagent.jar
Instead of
$ java -jar /appdynamics/machine-agent/machineagent.jar -Xmx100m -Xms64m
Hello,
I found some documentation.
That states this:
The lightweight Standalone Machine Agent consumes minimal resources of your computer.
AppDynamics recommends the following additional Heap and PermGen space to accommodate the agent:
Looks similar to what you tried, but perhaps it may help.