Java (Java Agent, Installation, JVM, and Controller Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

Limiting machine agent memory utilization

Highlighted
New Member

Limiting machine agent memory utilization

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

Limiting machine agent memory utilization
2 REPLIES 2
Voyager

Re: Limiting machine agent memory utilization

Has there been any response or solution provided to this?
Community Manager

Re: Limiting machine agent memory utilization

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:

  • Maximum heap size (-Xmx): 100 MB
  • Maximum PermGen heap size (-XX:MaxPermSize): 20 MB

Looks similar to what you tried, but perhaps it may help.


Thanks,
Ryan, AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.