Configure Java Heap Memory Size for Management Server
search cancel

Configure Java Heap Memory Size for Management Server

book

Article ID: 110003

calendar_today

Updated On: 07-16-2025

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

By default RA Management Server is started with following Java Heap Memory settings :

Windows :
JvmMs = 512
JvmMx = 2048

Linux :
Xms = 512
Xmx = 2048

These settings are the minimum and maximum size (in MB) of the Tomcat JVM heap

How to change the configuration and change the Java Heap Memory sizes ?

Environment

CA Release Automation - All versions

Resolution

Non Windows

To increase the Management Server process memory allocation, update the -Xmx Java system property. The -Xmx Java system property is located in the catalina.sh file.

In the bin/catalina.sh file, update the -Xmx from 2048M to 4096M.

Example: JAVA_OPTS="$JAVA_OPTS -Xms512m -Xmx4096m"


Important! Restart the Management Server after the change.

 

Windows
To increase the Management Server process memory allocation, update the --JvmMx parameter in 'NolioService.bat'.

1. Locate the file <RA Home>\bin\NolioService.bat

2. Locate the following line in the file:

"%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=%CATALINA_BASE%\temp;-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager;-Djava.util.logging.config.file=%CATALINA_BASE%\conf\logging.properties;-XX:+HeapDumpOnOutOfMemoryError;" --JvmMs 512 --JvmMx 2048

3. Increase the Java heap memory maximum value by modifying the parameter value for --JvmMx and save the file

Ex: To increase the maximum memory to 4GB, modify the line as below:

"%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=%CATALINA_BASE%\temp;-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager;-Djava.util.logging.config.file=%CATALINA_BASE%\conf\logging.properties;-XX:+HeapDumpOnOutOfMemoryError;" --JvmMs 512 --JvmMx 4096

4. Stop the 'Nolio Release Automation Server' service.

5. Uninstall the Nolio service using the script file 'nolio_server_remove_service.cmd'

5. Reinstall the Nolio service using the script file 'nolio_server_install_service.cmd'

6. Start the 'Nolio Release Automation Server' service.

Important Note: If 'Nolio Release Automation Server' service is running with a service account, please refer the following link below:

                            Application Not Starting After Increasing JVM Memory Settings - Article ID: 109812

 

 

On Windows Release Automation 6.8.6 and 6.9.x following method could also be used :

  1. Stop NAC service "Nolio Release Automation Service"
  2. Open regedit and go in registry key

    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\NolioServer20\Parameters\Java

  3. Doble click on JvmMs and change 512 by 1024 (0x400)
    Doble click on JvmMx and change 2048 to 8192 (0x2000)
    Before


    After


  4. Start NAC service

Additional Information

For more information, please refer the following link:

Mid to Large-Scale Deployment Software Requirements