Increasing JVM / Java heap Memory setting for EEM
search cancel

Increasing JVM / Java heap Memory setting for EEM

book

Article ID: 13598

calendar_today

Updated On:

Products

CA Workload Automation AE - Scheduler (AutoSys)

Issue/Introduction

The default JVM / Java heap Memory for EEM iGateway is set to 1024m.
How can this be increased?

Note:
A symptom of this being a problem is that the iGateway service shuts down unexpectedly and needs to be started again

Environment

Release: EEM 12.X
Component: ETEIAM
Autosys 12.x

Resolution

The heap setting is located in the igateway.conf file in the <SharedComponents>/iTechnology folder.

Stop iGateway first.

Open the igateway.conf file and search for JVM.

This brings you to the <JVMSettings> section:

<JVMSettings>
<loadjvm>true</loadjvm>
<javahome>C:/PROGRA~1/CA/SC/EMBEDD~1/jre</javahome>
<!-- <Properties name="prop-1">
<system-properties></system-properties>
</Properties> -->
<Properties name="jvm_heapsize">
<jvm-property>-Xmx1024m</jvm-property>
</Properties>

Change the line:

<jvm-property>-Xmx256m</jvm-property>

To reflect the maximum heap memory size the implementation requires.

This can be set to any ONE of the following values. In larger organizations, this will need to be higher.
<jvm-property>-Xmx2048m</jvm-property>
<jvm-property>-Xmx3072m</jvm-property>
<jvm-property>-Xmx4096m</jvm-property>

Start the iGateway service again