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

CFX error: "enforce system memory limit" controls whether this is a fatal error

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tata136

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2016, 04:06
Default CFX error: "enforce system memory limit" controls whether this is a fatal error
  #1
New Member
 
Ian
Join Date: Oct 2013
Posts: 23
Rep Power: 12
windfire is on a distinguished road
hello,everyone,i have a problem in cfx ,this tip means not have enough memory? how to solve it?
thank you
| Host Memory Information (Mbytes) |
+--------------------------------------------------------------------+
| Host | Npart | System | Allocated | % |
+------------------------+-------+-------------+-------------+-------+
| WSA | 16 | 23542.21 | 27439.56 |116.55 |
+------------------------+-------+-------------+-------------+-------+

+--------------------------------------------------------------------+
| ERROR #333100220 has occurred in subroutine Out_MemPar. |
| Message: |
| |
| The allocated memory exceeds the system memory on 1 host(s). |
| |
| The logical expert parameter "enforce system memory limit" |
| controls whether this is a fatal error. |
| |
| The current setting is: fatal |
| |
| Allocating more than the system memory may result in slow or |
| unreliable operation and is not recommended. |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver exited with return code 1. No results file |
| has been created. |
+--------------------------------------------------------------------+
windfire is offline   Reply With Quote

Old   March 28, 2016, 08:33
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
It means the software requires more memory than currently available on the machine. You have several options:

- Run the same case in parallel on multiple machines, i.e. reduce the requirements per partition and spread the memory requirements among multiple machines

- Reduce the memory estimated by the software and see if it can work with less memory. See memory settings under the advanced control when defining the run

- Use the expert parameter provided, and see if it can work even there is not enough memory. I doubt it will, but you can give it a try.

Hope the above helps,
Opaque is offline   Reply With Quote

Old   August 23, 2016, 04:02
Default how to change the "The current setting is: fatal"
  #3
New Member
 
tata
Join Date: Aug 2016
Posts: 1
Rep Power: 0
tata136 is on a distinguished road
I have similar problem.
In my case, the percent difference between allocated memory and system's memory is no greater than 1 %.
From the out file there is this error description message that says
"The logical expert parameter "enforce system memory limit" controls whether this is a fatal error.
The current setting is: fatal"

So i've been thinking about changing the current setting value of the logical expert parameter "enforce system memory limit" to be not "fatal", hoping the solver may be able to solve my case. But i cant find such "enforce system memory limit" in the expert parameter tab.
Can anyone share me some enlightments?

Thanx in advance.
Bak16 likes this.
tata136 is offline   Reply With Quote

Old   August 23, 2016, 04:19
Default
  #4
New Member
 
Join Date: Aug 2016
Posts: 17
Rep Power: 9
kabuforever is on a distinguished road
Decrease your mesh elements or upgrade your computer with more memory.
kabuforever is offline   Reply With Quote

Old   August 23, 2016, 05:52
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Or use distributed parallel - and if you are already use more nodes.
ghorrocks is offline   Reply With Quote

Old   October 11, 2016, 04:38
Default
  #6
Senior Member
 
Jiri
Join Date: Mar 2014
Posts: 218
Rep Power: 13
Jiricbeng is on a distinguished road
Quote:
Originally Posted by Opaque View Post
- Reduce the memory estimated by the software and see if it can work with less memory. See memory settings under the advanced control when defining the run
Could you please explain why to try to reduce the memory?
Jiricbeng is offline   Reply With Quote

Old   October 11, 2016, 05:21
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Because the system does not have enough memory to run the simulation as it is configured, so if you reduce the memory used somehow it might run. Isn't that obvious?
ghorrocks is offline   Reply With Quote

Old   October 12, 2016, 04:45
Default
  #8
Senior Member
 
Jiri
Join Date: Mar 2014
Posts: 218
Rep Power: 13
Jiricbeng is on a distinguished road
Memory allocations have never been obvious to me :-)

Thank you
Jiricbeng is offline   Reply With Quote

Old   March 22, 2020, 17:58
Default
  #9
New Member
 
Yuhan Wang
Join Date: Mar 2020
Posts: 5
Rep Power: 6
YuhanW is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Because the system does not have enough memory to run the simulation as it is configured, so if you reduce the memory used somehow it might run. Isn't that obvious?

Hi Sir,
I met the exact same problem here. I also could not find the "enforce system memory limit" in the expert parameters. I did like you suggested for running in distributed parallel: Intel MPI Distributed Parallel, but a new error was shown like below:

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The Intel MPI hydra service is not running and/or no user |
| credentials have been registered. The output given by E:\ANSYS |
| 2019R1\ANSYS |
| Inc\v193\commonfiles\MPI\Intel\2018.3.210\winx64\b in\mpiexec.exe |
| was: |
| |
| FAIL: Unable to read the credentials from the registry. |
| |
| Either: |
| |
| 1. Install Intel MPI using the ANSYS Installer, caching the |
| password as per the installation instructions. CFX must then be |
| restarted. |
| |
| 2. Alternatively, configure MPI using the commands: |
| |
| cfx5parallel -install-impi-service |
| |
| cfx5parallel -register-impi-user |
+--------------------------------------------------------------------+

can you give me some other suggestions? or do I need to choose "IBM MPI Distributed Parallel"?

Thank you in advance!
YuhanW is offline   Reply With Quote

Old   March 22, 2020, 18:20
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You need to configure the Intel MPI service as described in the installation instructions, or change to a different MPI method (eg IBM).
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   March 22, 2020, 20:17
Default
  #11
New Member
 
Yuhan Wang
Join Date: Mar 2020
Posts: 5
Rep Power: 6
YuhanW is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
You need to configure the Intel MPI service as described in the installation instructions, or change to a different MPI method (eg IBM).
Thanks for replying!
I tried with "IBM MPI Distributed Parallel" but it did not work. The original error "The allocated memory exceeds the system memory" back to the solver. I wonder if the Distributed Parallel is the only method to solve that? Is there any other way for that? Or how could we find the "enforce system memory limit" in the expert parameter setting?

Thanks in advance!
YuhanW is offline   Reply With Quote

Old   March 23, 2020, 04:19
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The only way to fix the "exceeds system memory" error is to either put more memory in the machine or to make the simulation size in that node smaller but using more partitions or a coarser mesh.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   March 23, 2020, 08:15
Default
  #13
New Member
 
Yuhan Wang
Join Date: Mar 2020
Posts: 5
Rep Power: 6
YuhanW is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
The only way to fix the "exceeds system memory" error is to either put more memory in the machine or to make the simulation size in that node smaller but using more partitions or a coarser mesh.
Thanks for replying!
The thing is I met an "insufficient allocated memory" problem before and it took me a whole weekend to fix that, and finally it shown that the problem is due to I set up the wrong rotational axis (not sure how the axis related to the memory stuff). The mesh is only 1.5million and my computer has 8GB ram I think it is fine to run that, so I am wondering if the memory problem this time could also happen for some setting in CFX-Pre rather than the computer itself?

Thanks in advance!
YuhanW 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
[swak4Foam] installing funkySetFields igo OpenFOAM Community Contributions 1 November 20, 2012 20:16
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 17:38


All times are GMT -4. The time now is 12:46.