CRE Programmer's Guide
Run-Time Diagnostic Messages
Common Run-Time Environment (CRE) Programmer’s Guide—528146-004
10-12
Heap-Management Messages
Heap-Management Messages
The CRE or run-time libraries report the messages in this subsection if they detect an
error while accessing the heap.
30
Cause. A heap-management routine was called with an invalid error number.
Effect. The CRE terminates the program.
Recovery. Refer to the reference manual that corresponds to the language in which
the routine that requests heap space is written. You might need to consult your system
administrator.
31
Cause. Your program, or the run-time library for one of the modules in your program,
requested more space on the heap than is currently available.
Effect. Program behavior is language and application dependent.
Recovery. Refer to the reference manual that corresponds to the language in which
the routine that requests heap space is written. You might need to consult your system
administrator.
32
Cause. The CRE or a run-time library found invalid data in the user heap or in the
heap control block.
Your program might be writing information over the heap or heap control block. An
invalid pointer or indexing operation could cause this error.
“Process heap size is 0” appears when your program or a run-time library requested
space, but the process has no user heap.
Effect. Program behavior is language and application dependent.
Recovery. In the TNS environment, the program might have written data in the upper
32K words of the user data segment or in the extended segment. The upper 32K
words of the user data area are reserved for CRE and run-time library data. In a small-
Unknown heap error
Cannot obtain data space
Invalid heap or heap control block
Process heap size is 0