How to increase memory available to the Agent

Problem:

Agent is reporting an out of memory error.

Solution:

The agent memory allocation can be increased by editing /opt/instana/agent/bin/setenv and changing the JAVA_MIN_MEM and JAVA_MAX_MEM to the following:

# export JAVA_MIN_MEM # Minimum memory for the JVMexport JAVA_MIN_MEM=96m# export JAVA_MAX_MEM # Maximum memory for the JVMexport JAVA_MAX_MEM=512m

 

Have more questions? Submit a request

Comments