How to increase the JVM memory allocation for GMS installed on Windows Server?

Description

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

Resolution

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:

ServiceWindows Batch File Name
  
Event Managereventd.bat
Monitormonitord.bat
Schedulersgmssched.bat
Reports Summarizersgmsvp2.bat
Reports Schedulersgmsvp1.bat
Syslog Collectorsyslogd.bat
Update Managerupdaterd.bat
Report Databasemysqld-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:

 

  • Open up Command Prompt again and navigate to C:\GMSVP\bin.
  • Type the file name then stop  to stop the service:

          Example: sgmsvp2.bat stop

         

 

  • Following the file name just add uninstall to uninstall the service

          Example: sgmsvp2.bat uninstall

          Image

  • Following the file name just add install to install the service

          Example: sgmsvp2.bat install

 

  • Start the service via the WebGUI or type the file name followed by start to start the service:

          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.

 

 

 

 

 

 

 

 

Related Articles

  • Analytics On-Prem vs NSM Feature Matrix
    Read More
  • Analytics On-Prem End of Life and NSM Transition FAQ
    Read More
  • NSM On-Prem: Backups over SCP to Windows OpenSSH Server
    Read More
not finding your answers?