7

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 ?

  • What are you trying to accomplish with this? – Moab Sep 27 '11 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 '11 at 3:36
  • related: stackoverflow.com/questions/156510/… – akira Sep 27 '11 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" – Peđa Terzić Sep 27 '11 at 3:42
  • so, also related stackoverflow.com/questions/7554111/… :) – akira Sep 27 '11 at 3:51
7

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

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.