Use /HEAP to set the size of the program heap in bytes. The reserve argument sets the total reserved virtual address space. The commit argument sets the amount of physical memory to allocate initially.
| /HEAP option syntax |
|---|
|
Default is: /HEAP:0x100000,0x1000
Abbreviation is: /HEA
Performance consideration: When commit is less than reserve, memory demands are reduced, but execution time can be slower.