Introduction
This document describes how to increase the Java heap size in the Cisco Process Orchestrator (CPO) server configuration file.
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
The information in this document is based on CPO 3.0 or later
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Problem
The user might find the need to increase their Java heap size if they see connectivity issues in any Java-related applications, general failures in those applications, or have system crashes due to Java components.
Solution
The Java heap size needs to be increased in the CPO server configuration file.
Complete these steps:
-
Go to the CPO install directory (for example, C:\Program Files\Cisco\Process Orchestrator).
-
Stop the CPO Service.
-
Edit the Tidal.Automation.Server.Exe.Config file.
-
Locate the <Tidal.Scheduler.Common.Properties.Settings> tag.
-
Locate the <setting name="AdapterHostJMVOptions" serializeAs="String"> tag. If it does not exist, create it and close the tag with a </setting> tag.
-
Inside the AdapterHost tag, change the value to <value>-Xms16m -Xmx512m</value>.
Note: You might have to make the second value -Xmx1024m if you have a larger system and need a larger heap.
-
The total entry in the logs should appear as:
<setting name="AdapterHostJVMOptions" serializeAs="String"> <value>-Xms16m
-Xmx512m</value> </setting>
-
Save the Config file.
-
Restart the CPO Service.