Consultor Eletrônico



Kbase P130930: Memory released by client is not claimed back by AIX
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

AIX
Progress 9.x
OpenEdge 10.x

SYMPTOM(s):

Client program allocates dynamic objects

Client program releases memory using DELETE OBJECT

Virtual memory size of process does not decrease

Output of "ps -v" shows that memory usage of process stays high

CAUSE:

This is a limitation of the default memory allocator on AIX. When a process releases memory using the free() standard API, the memory is not claimed back by the operating system and the virtual memory size of the process does not decrease.
This is due to a reuse mechanism in the default allocator: memory released with free() stays allocated by the system for the process, to optimize future allocations. (memory pool)

FIX:

Contact the operating system vendor.