How to increase the Java Heap Memory on the CA Release Automation Management Server?
search cancel

How to increase the Java Heap Memory on the CA Release Automation Management Server?

book

Article ID: 110003

calendar_today

Updated On:

Products

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

Issue/Introduction

How to increase the Java Heap Memory on the CA Release Automation Management Server?

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

 

Additional Information

For more information, please refer the following link:

Mid to Large-Scale Deployment Software Requirements