Agent for IBM AIX failed with Out of Memory error.
search cancel

Agent for IBM AIX failed with Out of Memory error.


Article ID: 53192


Updated On:


Workload Automation Agent DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)



Agent installed on IBM AIX platform could not be started due to '**Out of memory, aborting** error.


On CA ESP System Agent for AIX, the agent failed to start and reported out of memory error in the form:

***Out of memory, aborting**
***panic: JVMCL052: Cannot allocate memory in initialize heap for heap segment

The problem is caused by the number of available segments that a process can use for data which determines the process memory limit being exceeded.

On AIX operating system, the default process memory limit is 256MB.

The solution is to implement 'AIX big memory model' for the Agent by adding some parameters to the Agent startup script and parameter file.

Steps to follow:

  1. Edit the cybAgent script (not the binary file) in the Agent installation directory and add the following lines (preferably, after the export LIBPATH line);

    export IBM_JAVA_MMAP_JAVA_HEAP=true
    export LDR_CNTRL=MAXDATA=0x80000000

  2. Add the parameter below to the agentparm.txt file (located in the Agent installation directory);


  3. Start the Agent.

The inclusion of these parameters to the agentparm.txt file will increase:

  1. Number of segments that a process can use for data

  2. Process memory limit, and

  3. Amount of memory available for the Agent's java process.


Component: SYSAGD