Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


HEAPSIZE

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
Read syntax diagramSkip visual syntax diagram>>-HEAPSIZE--reserve--+---------+------------------------------><
                      '-,commit-'  
 
reserve
Indicates the total virtual address space reserved.
commit
Sets the amount of physical memory to allocate initially. When commit is less than reserve, memory demands are reduced, although execution time might be slower.

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

Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)