### /HEAP Linker Option (Windows)

Syntax: | Default:
/HEA[P]:reserve[,commit] | /HEAP:0x100000,0x1000

Use /HEAP to set the size of the program heap in bytes. The reserve argument sets the total virtual address space reserved. The commit sets the amount of physical memory to allocate initially. When commit is less than reserve, memory demands are reduced, but execution time can be slower.

Summary of Linker Options