search cancel

AIX agents ends with not enough space message.

book

Article ID: 190786

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

AIX agent ends with the following message.
U02003049 Invalid 'calloc' call, function : 'MemAllocRetArea()'. Error : 'Not enough space'

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Cause

Configuration.

Resolution

AIX Processes Abort Due to Lack of Memory

Programs on AIX can abort if the memory allocated to a process is not sufficient for the ongoing processing.

On AIX systems, 256 MB are allocated to each process by default. This memory limit can be increased to a maximum of 2 GB using the environment variable LDR_CNTRL.

This variable must be set before starting an Automation Engine on AIX.

Execute the following commands:

LDR_CNTRL=MAXDATA=0x80000000
export LDR_CNTRL

Value 8 stands for 8x256MB (max. value) => 2 GB

Using this parameterization, up to 2 GB memory can be allocated even from a 32-bit agent. Aborts due to insufficient memory can occur during the transfer or processing of huge spool lists or reports.

Important! For jobs which require more than 2 GB memory, the user must increase the limit in the job using the command ulimit (authorization required). It is also possible to define that there is no memory limit. This can be defined in the job using the command ulimit -d unlimited.