Use the HEAPSIZE statement to define the size of the application's local heap in bytes. You can enter any positive integer for the heap size.
| HEAPSIZE statement syntax |
|---|
|
Values specified by the /HEAP linker option take precedence over the HEAPSIZE statement.
In the following example, the linker sets the local heap to 4000 bytes if the following line is in a .DEF file:
HEAPSIZE 4000