Java Memory settings in Ecometer

Document ID : KB000038614
Last Modified Date : 14/02/2018
Show Technical Document Details
 
Question: 
 
How to verify Java memory allocation in Ecometer sever.
 
Environment:  
 
Ecometer 4.1 on Linux 5.9
 
Answer: 
 
In order to verify or to change Java memory setting, please go to the below path
 
 $ECOMETER_HOME/bin/ecoMeter there is a line:
 
JAVA_OPTS="$JAVA_OPTS -Xms512m -Xmx4096m -Djava.library.path=$CATALINA_HOME/bin"; export JAVA_OPTS
 
the -Xmx arg sets the memory limit