COMSOL not using all memory available

Please login with a confirmed email address before reporting spam

Hello,

I was trying to run a COMSOL simulation and it would always go over the available amount of RAM and start using Virtual Memory, which was extremely slow. Therefore, I bought more RAM (went from 64gb to 128gb), but COMSOL doesn't seem to want to use the full amount it has available. Indeed, once it reaches 64gb, it starts to write on the disk again even though there is still twice as much RAM available. Thinking that this was because COMSOL didn't "recognize" that there is more RAM, a clean install was done of COMSOL MultiPhysics, but this didn't solve the problem. Furthermore, I also tried to disable the use of Virtual Memory to force COMSOL to use the available RAM, but the simulation ends when COMSOL reaches the 64gb mark, with an error saying that there wasn't enough memory.

Why does COMSOL not use the full amount of RAM available?

Thanks in advance for your help!

Marek


3 Replies Last Post 11 lug 2025, 20:43 CEST
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 1 day ago 11 lug 2025, 19:25 CEST

Did you check if the operating system recognizes the memory extension?

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Did you check if the operating system recognizes the memory extension?

Please login with a confirmed email address before reporting spam

Posted: 1 day ago 11 lug 2025, 19:58 CEST

Yes I checked and the operating system does recognize it. I was even able to create a 120gb matrix using MATLAB.

Yes I checked and the operating system does recognize it. I was even able to create a 120gb matrix using MATLAB.

Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 1 day ago 11 lug 2025, 20:43 CEST

I recommend to submit this to COMSOL support.

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
I recommend to submit this to COMSOL support.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.