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

stack memory

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2012, 18:31
Default stack memory
  #1
Member
 
vyc
Join Date: Jul 2011
Posts: 31
Rep Power: 15
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, 34 views)
kestasposkus is offline   Reply With Quote

Old   November 27, 2012, 19:58
Default
  #2
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18
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
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18
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: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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
Member
 
vyc
Join Date: Jul 2011
Posts: 31
Rep Power: 15
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: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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
Member
 
vyc
Join Date: Jul 2011
Posts: 31
Rep Power: 15
kestasposkus is on a distinguished road
I used 2x and now it woks!

thanks for all

kestasposkus is offline   Reply With Quote

Reply


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
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 06: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 17:09.