/Fnumber
The /F option sets the program stack size to number bytes, where number is a hexadecimal number in the range 0001 to FFFF. A space is required between the option and number. Decimal and octal numbers are not allowed. If you don't specify this option, a stack size of 2K is used by default.
You may want to increase the stack size if your program gets stack-overflow diagnostic messages. If your program uses little stack space, you may want to decrease the size of your program by reducing the stack size. In general, if you modify the stack size, do not use the /Gs option to suppress stack checking until you are sure the new stack size is large enough.