RAM Usage running high

I am running a large Simulation Model and the RAM usage is going up dangerously high.

  • Are there any tools that I could use to locate where the problem comes from?
  • Profiler is focused only on CPU and function calls. Is there something similar for RAM?
  • Is there a way to install a python add on for example like memory_profiler on the VC Python distribution?

I don’t think there are any proper tools for monitoring RAM usage as such.

One typical problem si that the Statistics Interval is set to a low value, such as 1 second, so the simulation gathers a lot of statistical data in the memory for long simulations.
To see if this is the culprit, you can try setting to Statistics Interval to a higher value, such as 60 seconds.
image

2 Likes

It seems my Problem is related to the 4.10 Version. With the 4.9 Version the RAM usage is way lower and the simulation goes through. With the newer version RAM makes the simulation crash after a while.