Memory allocation
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Use malloc() and free() to allocate and deallocate memory
within a C function. Before returning to ABL, deallocate all memory that you allocate in the
function.
CAUTION: If you allocate too much memory in an HLC
function and leave it allocated after returning to ABL, your OpenEdge application
might not have enough memory for its own needs. If OpenEdge runs
out of memory at any point in the ABL application, it aborts and
returns to the operating system with an error.