CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Run-time memory allocation error with 40GB RAM (http://www.cfd-online.com/Forums/cfx/108001-run-time-memory-allocation-error-40gb-ram.html)

juanmariacg October 11, 2012 07:52

Run-time memory allocation error with 40GB RAM
 
Hi everybody,

I need your help please!

I'm trying to run an CFX simulation and I always received this:

+--------------------------------------------------------------------+
| Memory Allocated for Run (Actual usage may be less) |
+--------------------------------------------------------------------+

Data Type Kwords Words/Node Words/Elem Kbytes Bytes/Node

Real 1527918.2 453.00 82.17 5968430.5 1812.02
Integer 583426.2 172.98 31.38 2279008.8 691.91
Character 5089.8 1.51 0.27 4970.5 1.51
Logical 96.0 0.03 0.01 375.0 0.11
Double 729.6 0.22 0.04 5700.0 1.73

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| *** Run-time memory allocation error *** |
| Not enough free memory is currently available on the system. |
| Could not allocate requested memory - exiting! |
| |
| |
| |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver exited with return code 2. No results file |
| has been created. |
+--------------------------------------------------------------------+


I know that is a very common issue, but I've red a lot and I don't got it!.

I have 40 GB that should be enoguh, shouldn't be?

thank you in advance!!!

monkey1 October 11, 2012 10:01

You have 40 GB of RAM????
Or do you mean Disk Space....
The Memory meant by ANSYS is RAM and not Hard Disk Space...so if you have less than approx. >9GB of RAM it won't work.

juanmariacg October 11, 2012 10:08

thank you!

I mean 40GB or RAM; I had 8GB and I've installed 32GB more.

strobel October 11, 2012 15:58

Your mesh have high Refinement? maybe your mesh have too many elements per quad.

cdegroot October 12, 2012 08:51

Must be something else going on. Based on the memory allocated table you posted it seems like it is only trying to allocate a bit more than 8GB. So unless you have a lot of other things running, you should have plenty of RAM.

sakurabogoda October 13, 2012 03:31

Are you dealing with steady state or Transient State?

juanmariacg October 24, 2012 06:24

I am dealing with steady state,

thank you to everyone

strobel October 24, 2012 12:53

try change memory allocated factor.

Mandeep October 24, 2012 15:58

I guess mesh is highly refined so try to have mapped mesh or do not use parallel computing


Quote:

Originally Posted by juanmariacg (Post 386143)
Hi everybody,

I need your help please!

I'm trying to run an CFX simulation and I always received this:

+--------------------------------------------------------------------+
| Memory Allocated for Run (Actual usage may be less) |
+--------------------------------------------------------------------+

Data Type Kwords Words/Node Words/Elem Kbytes Bytes/Node

Real 1527918.2 453.00 82.17 5968430.5 1812.02
Integer 583426.2 172.98 31.38 2279008.8 691.91
Character 5089.8 1.51 0.27 4970.5 1.51
Logical 96.0 0.03 0.01 375.0 0.11
Double 729.6 0.22 0.04 5700.0 1.73

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| *** Run-time memory allocation error *** |
| Not enough free memory is currently available on the system. |
| Could not allocate requested memory - exiting! |
| |
| |
| |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver exited with return code 2. No results file |
| has been created. |
+--------------------------------------------------------------------+


I know that is a very common issue, but I've red a lot and I don't got it!.

I have 40 GB that should be enoguh, shouldn't be?

thank you in advance!!!


DarylMusashi October 25, 2012 03:11

1 Attachment(s)
Hello,

which operating system do you use?

Windows 7 (32 bit) and Windows Vista (32 bit) are able to handle only 4 GB RAM.
2 of these 4 GB RAM can be used for applications. So your 40 GB RAM are worthless, if you use Windows Vista, 7 (or even XP).

If you use Windows:
What you can try is the CFF explorer suite. With this tool you can manipulate program files and allow them to allocate more then 2 GB RAM. Load the particular program file, edit the file header characteristics and enable the option "app can handle > 2 GB of adress space" (see attachment).
You should do a backup copy of your program file before!

If it still does not work - as mentioned before - you can try to play with the solver's memory allocation factor in CFX.

Hope that helps,
Daryl Musashi

ghorrocks October 25, 2012 05:59

I do not think Daryl's trick will allow you to access >2GB. The CFX code will not have been written to support this so it will not work.

Your choices are:
* Use distributed parallel to split it up over many machines
* Use local parallel to split it up to many processes on the local machine where each process is less than 2GB.
* Move to a 64 bit OS with 64 bit CFX.
* Use a coarser mesh.


All times are GMT -4. The time now is 17:24.