Use /STACK to set the stack size (in bytes) of your program.
| /STACK option syntax |
|---|
|
Default is: /STACK:0x100000,0x1000
Abbreviation is: /ST
The size must be an even number from 0 to 0xFfffFffe. If you specify an odd number, it is rounded up to the next even number.
reserve indicates the total reserved virtual address space. commit sets the amount of physical memory to allocate initially.
Performance considerations: When commit is less than reserve, memory demands are reduced, although execution time may be slower.