Increase RAM for JVM on GMS Virtual Appliance

Description

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

Resolution

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:

ServiceVirtual File Name
Event Managereventd.sh
Monitormonitord.sh
Scheduler Servicesgmssched.sh
Reports Summarizersgmsvp2.sh
Reports Schedulersgmsvp1.sh
Syslog Collectorsyslogd.sh
Update Managerupdaterd.sh
Report Databasemysqld-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:

Image

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.

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?