Increasing manager's memory settings

Posted over 10 years ago by Mike Tompkins

Post a topic
Answered
M
Mike Tompkins

Recently we increased the number of servers monitored with eG. I'm thinking of updating the memory allocation to the eG manager, inline with our changes. How do I update the eG manager memory settings?

 

0 Votes

A

Administrator posted over 10 years ago Admin Best Answer

For Windows installations


Follow the below steps, 
  • Stop the eG Manager using start menu
  • Open a command prompt as administrator.
  • Go to <egurkha_install_dir>/lib directory and run the command “notepad setEnv.bat”, update the parameters below and save.  
                @set XMX=1024
                @set XMS=1024
                @set NEWSIZE=256
                @set PERMSIZE=256                             
          Note: NewSize and and PermSize should be 1/4th of the xmx value assigned.
  • Run mgrdebugoff.bat on the same location to get the changes reflected
  • Start the manager.

For UNIX installations


1. Stop the manager.

2. Open opt/egurkha/manager/tomcat/bin/catalina.sh and search for JAVA_OPTS and change the xmx and any other JVM param values as required.

3. Start the manager.


0 Votes


1 Comments

A

Administrator posted over 10 years ago Admin Answer

For Windows installations


Follow the below steps, 
  • Stop the eG Manager using start menu
  • Open a command prompt as administrator.
  • Go to <egurkha_install_dir>/lib directory and run the command “notepad setEnv.bat”, update the parameters below and save.  
                @set XMX=1024
                @set XMS=1024
                @set NEWSIZE=256
                @set PERMSIZE=256                             
          Note: NewSize and and PermSize should be 1/4th of the xmx value assigned.
  • Run mgrdebugoff.bat on the same location to get the changes reflected
  • Start the manager.

For UNIX installations


1. Stop the manager.

2. Open opt/egurkha/manager/tomcat/bin/catalina.sh and search for JAVA_OPTS and change the xmx and any other JVM param values as required.

3. Start the manager.


0 Votes

Login to post a comment