9

I need to increase the default stack size on 32-bit Windows 7 ultimate.As I know there are two ways to increase stack size on Linux, executing command " ulimit -s size " and changing limits.conf file. Is there some similar method for Windows 7 operating system ?

Pedja
  • 193

1 Answers1

9

changing the stacksize for a program can be changed by using the editbin command (part of visual studio):

$ editbin /STACK:reserve[,commit] program.exe

See https://docs.microsoft.com/en-us/cpp/build/reference/stack

Arnavion
  • 103
akira
  • 63,447