8

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 ?

8
  • What are you trying to accomplish with this?
    – Moab
    Sep 27, 2011 at 3:35
  • 4
    most of the time when i see "i need to do x" its just that the person does not know how to fix the real problem and just wants to sidestep it. so, whats your real problem (the one that leads you to think to increase the stacksize permanently)?
    – akira
    Sep 27, 2011 at 3:36
  • related: stackoverflow.com/questions/156510/…
    – akira
    Sep 27, 2011 at 3:39
  • @akira,I am trying to run a one test in Maple 14 but I am getting following message "Error, numeric exception: overflow"
    – Pedja
    Sep 27, 2011 at 3:42
  • so, also related stackoverflow.com/questions/7554111/… :)
    – akira
    Sep 27, 2011 at 3:51

1 Answer 1

8

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .