RA Agent fails to start with "error java.lang.OutOfMemoryError: Java heap space"
search cancel

RA Agent fails to start with "error java.lang.OutOfMemoryError: Java heap space"

book

Article ID: 87615

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :

java.lang.OutOfMemoryError: Java heap space

The RA Agent fails to start and the above error message is displayed in the agent's log file.

Cause

Root Cause: Not enough Heap Memory available to start the Java Virtual Machine

Resolution

To avoid this problem the maximum amount of memory available to the RA Agent should be increased. It is however also advisable to increase the minimum amount of memory in case the server uses a lot of memory otherwise the lack of memory at startup will remain undetected.

Windows: java -jar -Xrs -Xms256M -Xmx512M ucxjcitx.jar disable_cache
Unix: java -jar -Xms256 -Xmx512M ucxjcitx.jar disable_cache

In case the agent still doesn't start, further increase the max memory available (Xmx).