CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Hardware (http://www.cfd-online.com/Forums/hardware/)
-   -   Increasing stack limit while analysis (http://www.cfd-online.com/Forums/hardware/124800-increasing-stack-limit-while-analysis.html)

SivaR October 13, 2013 13:19

Increasing stack limit while analysis
 
Hi all,

It would indeed great if i can get answer for the problem where i got stuck up, while solving in flotherm, the solver dies suddenly without result, I ve got 4 GB of ram and i3 processor, the problem too is not complex. When read the help, it said disk inavailability in solution repository, so alternatively try increasing stack limit set for the software and restart.
From this i can understand that i need to increase the memory/processor limit imparted by windows to software. how can that be done?
I ve read that there is something called limit system command. use ulimit to remove the limits set. And how that can be done? kindly help me in this regard !

wazoo42 October 15, 2013 12:22

First try finding was your ulimit setting is using,

Code:

ulimit -a
There should be an entry with -s next to it, on my x6 1090T it shows 8192. In this case I could double the stack size by using,

Code:

ulimit -s 16384
You can set the stack to unlimited using,

Code:

ulimit -s unlimited
NOTE: If you set the stack to unlimited and the program uses all of the memory it won't just fail gracefully with a stack overflow. It will likely crash your computer.

SivaR October 15, 2013 12:56

Thanks for the reply, iam using windows 7 os how and where should i enter ulimit code? Command dos or where? Nextly how can i specify the program name to it?

wazoo42 October 15, 2013 13:04

I don't use windows, but maybe this will help.

http://superuser.com/questions/34023...y-on-windows-7

SivaR October 16, 2013 00:53

Thanks, and that'd help me.


All times are GMT -4. The time now is 07:52.