Increasing JVM heap setting for EEM

Document ID : KB000013598
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

The default JVM heap for EEM igateway is set to 256m. How can this be increased?

Answer:

The heap setting is located in the igateway.conf file in the /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>-Xmx256m</jvm-property>
</Properties>

Change the line:

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

To reflect the maximum heap size the implementation requires.

Although 256m is in most cases enough, this can be increased, but the suggestion is not to go over 1024m as this could start causing issues with the Java garbage collection.