search cancel

Java Connector Server (JCS) Java heap space out of memory


Article ID: 203189


Updated On:


CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite


We see the following error in jcs_daily.log

  java.lang.OutOfMemoryError: Java heap space



Release : 14.x

Component : IdentityMinder(Identity Manager)


One possible reason is JVM memory allocation is too small.


If you have enough RAM resources in the Connector Server machine you can increase JVM memory allocation for JCS.

On Windows please edit the following registry values

HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/ComputerAssociates/Identity Manager/Procrun

HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/ComputerAssociates/Identity Manager/Procrun

JvmMs is the minimum memory allocation. JvmMx is the maximum memory allocation.

On UNIX, create a file named jvm_options.conf in the Connector Server data folder with the following Java arguments.

-Xms256M -Xmx2048M -d64

Specifies the minimum heap memory allowed for CA IAM CS
Example: -Xms256M specifies that the minimum heap memory allowed for CA IAM CS is 256 MB.

Specifies the maximum heap memory allowed for CA IAM CS.
Example: -Xmx2048M specifies that the maximum heap memory allowed for CA IAM CS is 2048 MB.
Specifies that the JVM is run in a 64-bit environment.

Restart JCS after the above modification.



On Virtual Appliance, please edit the following file

/opt/CA/IdentityManager/ConnectorServer/data/jvm_options.conf file

Restart JCS after changing the file.