/ST[[ACK]]:number
The /STACK option lets you change the stack size from its default value of 2048 bytes. The number is any positive even value in decimal or C-language notation up to 64K. If an odd number is specified, LINK rounds up to the next even value. Do not specify /STACK for a DLL.
Programs that pass large arrays or structures by value or with deeply nested subroutines may need additional stack space. In contrast, if your program uses the stack very little, you might be able to save space by decreasing the stack size. If a program fails with a stack-overflow message, try increasing the size of the stack.
Note:
You can also use the EXEHDR utility to change the default stack size by modifying the executable-file header. For more information on EXEHDR, see Chapter 17.