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

stack memory

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 27, 2012, 18:31
Default stack memory
  #1
New Member
 
vyc
Join Date: Jul 2011
Posts: 26
Rep Power: 5
kestasposkus is on a distinguished road
Attachment 17285Hi

I have problem, solver code give :

+--------------------------------------------------------------------+
| *** INSUFFICIENT MEMORY ALLOCATED *** |
| |
| ACTION REQUIRED : Increase the character stack memory size. |
| |
| Details : |
| Requested space : 2280000 words |
| Current allocated space : 1597440 words |
| Current used space : 3000 words |
| Current free space : 1594440 words |
| Number of free areas : 1

like I understand it is required increase word size in attached table

I have try with 3m setting but result was the same...

thanks for help

Vytas
Attached Images
File Type: jpg atminties nustatymas.jpg (41.4 KB, 13 views)
kestasposkus is offline   Reply With Quote

Old   November 27, 2012, 19:58
Default
  #2
Senior Member
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 387
Rep Power: 6
cdegroot is on a distinguished road
You are changing the settings for the interpolator. Isn't it crashing in the solver?
cdegroot is offline   Reply With Quote

Old   November 27, 2012, 20:00
Default
  #3
Senior Member
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 387
Rep Power: 6
cdegroot is on a distinguished road
Also you are changing the settings for real memory not character memory. It is crashing due to lack of character memory.
cdegroot is offline   Reply With Quote

Old   November 27, 2012, 21:43
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,658
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
And I would recommend using the "2x" approach to specify the memory, not an absolute number. This just allocates twice as much as it previously guessed.

Running out of character stack is very unusual. You must have some weird object names in there.
ghorrocks is offline   Reply With Quote

Old   November 28, 2012, 07:04
Default
  #5
New Member
 
vyc
Join Date: Jul 2011
Posts: 26
Rep Power: 5
kestasposkus is on a distinguished road
Thank You all for quick reply,

Glen what do You mean weird words?

for calculations I used Lithuanian words for separate names selections
like intake or outtakes ....

but it does not make any problems until I used double precision


v
kestasposkus is offline   Reply With Quote

Old   November 28, 2012, 07:15
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,658
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Are you using any special characters, or it the names very long?

Not to worry, if it can be fixed by just using 2x character stack space then ignore the problem and just proceed. It is not worth the effort to work out what is going on.
ghorrocks is offline   Reply With Quote

Old   November 28, 2012, 07:22
Default
  #7
New Member
 
vyc
Join Date: Jul 2011
Posts: 26
Rep Power: 5
kestasposkus is on a distinguished road
I used 2x and now it woks!

thanks for all

kestasposkus is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble with stack memory Lokesh CFX 1 March 7, 2008 05:01
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 15:37
stack memory error! sima CFX 2 September 27, 2007 05:04
Memory Stack Function Andy CFX 5 February 3, 2006 13:46
Integer stack memory size Twiti CFX 2 December 22, 2004 08:38


All times are GMT -4. The time now is 05:39.