Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 ?

share|improve this question
What are you trying to accomplish with this? – Moab Sep 27 '11 at 3:35
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:… – 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" – pedja Sep 27 '11 at 3:42
so, also related… :) – akira Sep 27 '11 at 3:51
up vote 5 down vote accepted

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

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


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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