JCP process stops.

book

Article ID: 207752

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic Workload Automation - Automation Engine

Issue/Introduction

The JCP process ends unexpectedly. The following message is shown in the JCP log:

U00045014 Exception 'java.lang.OutOfMemoryError: "Java heap space"' at 'org.apache.lucene.util.ArrayUtil.grow():354'.

Cause

Configuration.

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

Increase the Java heap size with -Xmx, i.e. -Xmx2G.

Start command for the JCP on Windows, i.e.:

C:\Program Files\Java\jdk1.8.0_221\bin\java -Xrs512M -Xmx2G -jar ucsrvjp.jar -IC:\Automic\Automation.Platform\ServiceManager\bin\..\..\AutomationEngine\bin\ucsrv.ini -svc%port% -rest

Start command for JCP on Linux, i.e.:

/opt/Automic/External.Resources/JDK/jdk1.8.0_144/bin/java -Xrs512M -Xmx2G -jar ucsrvjp.jar -I/opt/Automic/Automation.Platform/ServiceManager/bin/../../AutomationEngine/bin/ucsrv.ini -svc%port% -rest