Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
"Out of memory when xmesh processing" and issue with allocating only a fraction of the available RAM.
Posted 12 nov. 2020, 06:02 UTC−5 Low-Frequency Electromagnetics, Charged Particle Tracing Version 5.5 1 Reply
Please login with a confirmed email address before reporting spam
Hi everyone,
I have a COMSOL Multiphysics 5.5 model where a beam of ions is travelling through an assembly of electrodes. I inherited the model from another person, and I am trying to run it.
My problem is that, although my PC has 8 GB of RAM, when the model runs, the virtual memory it allocates never exceeds ~5.5 GB, and it always fails, giving an error message "Out of memory when xmesh processing." I do not actually understand what this message means (new to COMSOL) and I need help figuring out a way to make the model allocate a larger fraction of RAM.
To make it run, I tried to use the direct solver (MUMPS) with out-of-core ON, but now instead of failing, the model completely crushes the computer. The original model had a lot more components in it, but I removed a lot of them and only kept the absolutely necessary ones. I made the mesh extremely coarse except at boundaries where a coarse mesh would throw an error, but the problem still persists.
Is there an established practice to manage COMSOL memory? Has anyone experienced similar issues before?