How to allocate more memory to the Tomcat application.
search cancel

How to allocate more memory to the Tomcat application.

book

Article ID: 53047

calendar_today

Updated On:

Products

CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service CA Service Desk Manager CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Description:

Tomcat comes installed by default with a memory allocation of 512M, users may want to increase this memory due to high load.

Solution:

Search for the $NX_ROOT/NX.env variable:
@NX_JAVA_OPTIONS=-Djava.net.preferIPv4Stack=false -Xms64M -Xmx512M

Change the -Xmx setting, and save the NX.env; fe. to allocate 1024M set:
@NX_JAVA_OPTIONS=-Djava.net.preferIPv4Stack=false -Xms64M -Xmx1024M

You will have to restart servicedesk to activate the new setting.

Environment

Release:
Component: ARGIS