CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Hardware

Increasing stack limit while analysis

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 13, 2013, 13:19
Unhappy Increasing stack limit while analysis
  #1
New Member
 
Join Date: Sep 2013
Posts: 6
Rep Power: 12
SivaR is on a distinguished road
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 !
SivaR is offline   Reply With Quote

Old   October 15, 2013, 12:22
Default
  #2
New Member
 
Benj FitzPatrick
Join Date: Apr 2012
Posts: 4
Rep Power: 14
wazoo42 is on a distinguished road
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.
wazoo42 is offline   Reply With Quote

Old   October 15, 2013, 12:56
Default
  #3
New Member
 
Join Date: Sep 2013
Posts: 6
Rep Power: 12
SivaR is on a distinguished road
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?
SivaR is offline   Reply With Quote

Old   October 15, 2013, 13:04
Default
  #4
New Member
 
Benj FitzPatrick
Join Date: Apr 2012
Posts: 4
Rep Power: 14
wazoo42 is on a distinguished road
I don't use windows, but maybe this will help.

http://superuser.com/questions/34023...y-on-windows-7
wazoo42 is offline   Reply With Quote

Old   October 16, 2013, 00:53
Default
  #5
New Member
 
Join Date: Sep 2013
Posts: 6
Rep Power: 12
SivaR is on a distinguished road
Thanks, and that'd help me.
SivaR is offline   Reply With Quote

Reply

Tags
cpu load, memory limit, stack size


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
3D analysis of Ahmed body Irshad22 FLUENT 0 December 17, 2009 04:33
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 14:37
can't analysis tipakorn Siemens 0 September 9, 2006 06:54
Stack frame size, Origin 2000, fortran, a question. Sergei Chernyshenko Main CFD Forum 4 February 22, 1999 14:24


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