How to resolve CFX error message : Stopped in routine MEMERR

ERROR #001100279 has occurred in subroutine ErrAction. Message:      Stopped in routine MEMERR                              

The error message MEMERR generally points to memory issues but there can be other reasons for this error.

The first step of troubleshooting is to rule out memory allocation errors. To increase the memory allocation, set the partitioner and solver memory options to "Maximal" from the default "Model-Based".   

The above error can also occur if you have a lot of interfaces in the model. One way to check if the interfaces are the cause of the problem is to try deleting interfaces until the case runs. If the interface which is causing the issue is identified, try splitting it into parts and try again.   

If the above step does not resolve the problem, run the model in serial locally in stand-alone mode.  Collect the "out file", a "screenshot of the Console window", and the trace file (found in the CFX run directory.) and share the files with support.

The trace file can reveal why the solver error occurred and at what step. The Trace file is not readable and will require special tools. 

 

Example of Out File error message: 
  
 Details of error:-
 ----------------
 Error detected by routine PEEKI 
 CDANAM = /FLOW/GEOMETRY/KZnBcp
 CRESLT = ADRS
  
 Current Directory : /FLOW/PHYSICS
 
 +--------------------------------------------------------------------+
 | ERROR #001100279 has occurred in subroutine ErrAction.             |
 | Message:                                                           |
 | Stopped in routine MEMERR                                          |
 |                                                                    |
 |                                                                    |
 |                                                                    |
 |                                                                    |
 |                                                                    |
 +--------------------------------------------------------------------+

 +--------------------------------------------------------------------+
 |                An error has occurred in cfx5solve:                 |
 |                                                                    |
 | The ANSYS CFX partitioner exited with return code 1.               |
 +--------------------------------------------------------------------+


 +--------------------------------------------------------------------+
 | The following user files have been saved in the directory          |
 | C:/M/XXX/GNR50C_High_Power_MLO/ANSYS/xxx |
 | _TEST_pending/dp0_CFX_Solution/CFX_002:                            |
 |                                                                    |
 | trace                                                              |
 +--------------------------------------------------------------------+


 +--------------------------------------------------------------------+
 | For CFX runs launched from Workbench, the final locations of       |
 | directories and files generated may differ from those shown.       |
 +--------------------------------------------------------------------+


This run of the ANSYS CFX Solver has finished.