Is there a way to get the max memory used when I run my script?

I am trying to solve a distributed large sparse linear equation. I found the size of the RAM is the limitation of my algorithm. I need to monitor the RAM usage like the task manager in Windows. Now I could only being staring at it all the time. The most important thing I want to know is the largest amount of the usage RAM, including the virtual memory. Is there a way to get it in Matlab? Or some other ways? Any suggestion would be appreciated.

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Products

Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!