Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
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" –  pedja Sep 27 '11 at 3:42
    
so, also related stackoverflow.com/questions/7554111/… :) –  akira Sep 27 '11 at 3:51

1 Answer 1

up vote 2 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

(see http://msdn.microsoft.com/en-us/library/35yc2tc3(v=vs.80).aspx)

share|improve this answer

Your Answer

 
discard

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.