This article explains how you can increase the RAM allocated to the JVM for each of the services on a GMS Virtual Appliance deployment.
TIP: To increase the JVM memory allocation for GMS installed on Windows Server, please follow this KB
Before you begin, You will need to get a Root SSH password from Technical Support.
Steps to increase JVM memory for the Services running on GMS:
1. Login to GMS Virtual Appliance using WinSCP tool with the Root password.
Navigate to:
/opt/GMSVP/bin
List of file names for different GMS services:
| Service | Virtual File Name | |
|---|---|---|
| Event Manager | eventd.sh | |
| Monitor | monitord.sh | |
| Scheduler Service | sgmssched.sh | |
| Reports Summarizer | sgmsvp2.sh | |
| Reports Scheduler | sgmsvp1.sh | |
| Syslog Collector | syslogd.sh | |
| Update Manager | updaterd.sh | |
| Report Database | mysqld-ib.sh |
2. Right Click on the file for the specific service for which JVM has to be updated and Select Edit.
3. Look for the following line in this file:

4. Change the values to be more suitable for the service utilization. That is Xms192m would change to Xms512m and -Xmx256m would change to -Xmx2048m
5. To enforce the changes just made, restart the services for the Virtual Appliance.