CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Hardware (
-   -   Increasing stack limit while analysis (

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,


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,


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


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.

SivaR October 16, 2013 00:53

Thanks, and that'd help me.

All times are GMT -4. The time now is 21:51.