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.