LINK Help (linker.hlp) (Table of Contents; Topic list)
HEAPSIZE Statement
                                             Up Contents Index Back
─────LINK───────────────────────────────────────────────────────────────────
 
     Syntax:  HEAPSIZE {bytes | MAXVAL}
 
     Defines the size of the application's or DLL's local heap in
     bytes. This value affects the size of the default data segment
     (DGROUP). By default, when HEAPSIZE is not specified, the program
     does not have a local heap.
 
     The <bytes> argument is a positive integer. The limit is MAXVAL;
     excess bytes are not allocated.
     See: Entering Numeric Arguments
 
     MAXVAL sets the heap size to 64K minus the size of DGROUP.
 
     Example
 
          HEAPSIZE 4000
 
     This example sets the local heap to 4,000 bytes.
                                    -♦-