This process needs to be followed for GMS running on Windows Servers.
For GMS Virtual Appliance, follow the KB: How to increase the RAM allocation to the JVM for each Service
Steps to increase RAM allocated to the JVM for the GMS services running on Windows:
Â
1. Navigate to the install drive for GMSVP\bin folder.
In this example, GMS is installed in C: Drive, hence the path will be C:\GMSVP\bin and Press Enter.
Â
We will see a list of batch files for different GMS services running on the server.
Â
List of batch files for GMS services running on Windows:
| Service | Windows Batch File Name |
| Â | Â |
| Event Manager | eventd.bat |
| Monitor | monitord.bat |
| Scheduler | sgmssched.bat |
| Reports Summarizer | sgmsvp2.bat |
| Reports Scheduler | sgmsvp1.bat |
| Syslog Collector | syslogd.bat |
| Update Manager | updaterd.bat |
| Report Database | mysqld-ib.bat |
Â
NOTE: Take a copy of the batch file before making changes to it.
Â
2. We have increased JVM memory for Report Summarizer Service here. Right click and Edit the sgmsvp2.bat file and look for the following parameter in it:
set JAVA_OPTS=-Xms192m -Xmx256m
Â
3. Change the values to be more suitable for the service utilization. For example, Â Xms192m would change to Xms512m and -Xmx256m would change to -Xmx2048m and Save the file.
Â
4. After the change, the specific service needs to be uninstalled and re installed.
Steps to perform uninstall and reinstall of the GMS service:
Â
     Example: sgmsvp2.bat stop
    Â
Â
     Example: sgmsvp2.bat uninstall
     
     Example: sgmsvp2.bat install
Â
     Example: sgmsvp2.bat start
Â
After performing these steps, the RAM allocated to the JVM for Report Summarizer Service will be increased. Same steps can be performed for other GMS services as needed.
Â
Â
Â
Â
Â
Â
Â
Â