While trying to deploy the Service Desk Manager REST API an error is received: "The system is out of resources"

book

Article ID: 19810

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 KNOWLEDGE TOOLS CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Description:

During deployment of the REST API on a Service Desk Manager r12.7 system that was migrated from a earlier release of Service Desk, it may be possible to see an error:

"The system is out of resources

Consult the following stack trace for details

java.lang.OutOfMemoryError: Java heap space"

This error will be logged in the JREST.LOG file or if you are manually redeploying REST, the message will display in the command prompt after running the pdm_rest_util command.

Solution:

A possible cause for this error on a migrated Service Desk Manager environment is that Service Desk Manager is not configured to use the correct version of Java.

Previous releases of Service Desk Manager were packaged with Java 1.6.0_00. Service Desk Manager 12.7 comes with Java 1.6.0_30 which is required for REST.

It is possible that during the migration to 12.7 that the newer Java was installed on the server, but Service Desk Manager was not updated to point to it and is instead continuing to use the old version of Java.

In order to confirm the version of Java in use, go to the Service Desk Manager install location, make a backup of the NX.ENV file and then open it in a text editor.

Locate this line:

@NX_JRE_INSTALL_DIR=

The path should look something like this (based on where the JRE is installed on the server):

C:/Program Files (x86)/CA/SC/JRE/1.6.0_30

If it instead looks like this:

C:/Program Files (x86)/CA/SC/JRE/1.6.0_00

It will need to be manually changed to the correct value. Prior to making the change make sure that the 1.6.0_30 directory is valid on the server.

After the change is complete, restart the Service Desk Manager service and then run the "pdm_rest_util -deploy" command again to complete the REST deployment.

Environment

Release: SWAMFC059000-12.7-Software Asset Manager-Flow Control
Component: