ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to increase Java Memory available to CORA Cleanup

book

Article ID: 132526

calendar_today

Updated On:

Products

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

Steps to increase Java memory available to CORA Cleanup utility

Environment

CA Service Desk Manager 14.1 and 17.x
All Supported Operating Systems

Resolution

1. Navigate to the NX_ROOT\bin folder and take a backup of the CORACLEANUP.CMD file 
2. Edit the CORACLEANUP.CMD file to add the -Xmx1024m parameter. The command should now look like: 

"%NX_JRE_INSTALL_DIR%/bin/java" -Djava.net.preferIPv4Stack="false -Xms64M -Xmx1024M" -DLOG_CONFIG_DIR="%NX_ROOT%/site/cora_cfg" -ea -classpath "%NX_ROOT%/java/lib/corajava.jar;%NX_ROOT%/java/lib/cora_util.jar;%NX_ROOT%/java/lib/log4j-1.2.15.jar;%NX_ROOT%/java/lib/ojdbc14.jar;%NX_ROOT%/java/lib/sqljdbc.jar" com.ca.Cora.util.ConsoleManager %args%

3. Save changes

Couple of notes:

1.  At the present time, CORA cannot use 64-bit Java since some of the CORA DLLs and binaries will NOT work with 64-bit Java as CORA is a 32-bit application
2.  No user/process should have access to create/update CIs while CORA cleanup is running
 

Additional Information

https://docops.ca.com/ca-service-management/17-2/en/using/configuration-management/using-the-cora-cleanup-utility