What is the impact if Java Heap size is low and how to increase Heap size for System Agent.

book

Article ID: 36981

calendar_today

Updated On:

Products

CA Workload Automation Agents

Issue/Introduction

Question:

What is the impact if Java Heap size is low?

How to increase Heap size for System Agent?

 

Answer:

When the Agent is out of memory or could not allocate heap of requested size, it may prevent the Agent from starting or processing new jobs.  If this occurs frequently, then it is recommended to increase the JMV Heap size for the Agent.

The parameter that controls the memory available to the Agent is;

 oscomponent.jvm.x.options=-Xms<nnn>;-Xmx<nnn>      

 where;
    -Xms implies minimum heap size
    -Xmx implies maximum heap size
    nnn is a multiple of 64MB


For example:

To increase the heap size; add given parameter in the agentparm.txt file (located in agent installation directory);

    oscomponent.jvm.x.options=-Xms64m;-Xmx256m 

And restart the agent to apply changes.

Note: Increase Xmx as per the size of your workloads and resources available on the Agent box.

Environment

Release: WKLASE99000-11.3-Workload Automation-Agent SE
Component: