CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Help understanding Memory Allocation Factor (https://www.cfd-online.com/Forums/cfx/25398-help-understanding-memory-allocation-factor.html)

Todd March 5, 2008 20:26

Help understanding Memory Allocation Factor
 
I am trying to understand what this does. From what I can understand from CFX Help is that it is just an estimation of the memory needed to run the analysis. It then reserves that amount memory to be used by the simulation.

Do I have this right?

Also, by increasing it by 200% or 300%, will the simulation run faster or is it just reserving more memory that will not be used?

CycLone March 6, 2008 13:27

Re: Help understanding Memory Allocation Factor
 
The estimation factor just multiplies the estimated memory requirements by the factor you specified. Sometimes you need to increase it, sometimes decrease it, depending on what your memory error is. For instance, if the solver cannot allocate enough memory, a mem factor of 0.9 might help by reducing the memory needed. On the other hand, if the solver did not allocate enough memory, a mem factor greater than 1 is required. If you read the memory error message carefully you'll know what to do.

The solver is pretty smart about how it uses the available memory. To keep the memory overhead down, there are values that it will recalculate when needed. If you increase the available memory, the solver will use it to store these parameters for future use.

If you have memory to spare you can increase it to roughly 3x to 5x before the solver runs out of stuff to fill it with. Since pulling some of these parameters from memory can be faster than calculating them, some speedup can occur.

-CycLone


All times are GMT -4. The time now is 11:34.