Hi
I am running a PIC case with reaction. The number of inert particles is just about 6300 and number of biomass particles entering is just about tens per sec. This should not be a very costly simulation but it turns out to take up extremely large portion of RAM after running about 24 hours.
At the beginning, everything is normal and the text terminal flashes with residual infomation as usual. However, with the simulation going on, the RAM usage will go up and up, and now it takes up 30G.
The simulation was running on a VMware virtual machine with Ubantu20. 16 processors were used for DMP.
A obvious phenomenon is the system is now very slow. The time elapsed counting on dashboard refreshes off and on.
Another phenomenon is the text terminal is in nearly stagnation: No residual and other info comes out any more. See following picture.
Closing the GUI window or even closing the terminal wouldn’t solve the problem, there is still high RAM usage(although half of RAM will be freed if closing the window). The only thing I can do is to reboot the computer and restart the simulation.
Another weird phenomenon is even after I closed the GUI and start in a new terminal, the simulation is still stuck and only showing the elapsed time. So I have to reboot every time this issue occurs
Another weird phenomenon is even after I closed the GUI and start in a new terminal, the simulation is still stuck and only showing the elapsed time.
This does not seem that weird - the GUI allows you to close it while a simulation is running, and will attempt to reconnect to a running job when it starts up again. You have shown that the memory issue is on the solver side, not within the GUI.
However, I started to wondering if it is related to the DMP (16 threads are used)
This is highly likely. Whenever you have problems running a job in DMP mode, it’s good to try running it serially to see if the problem goes away.