MATLAB: Does the “Mem Usage” (in Windows Task Manager) drop significantly, while the “VM Size” remains relatively unchanged, when I minimize all MATLAB related windows

MATLAB

In MATLAB 7.3 (R2006b), when I minimize all MATLAB related windows, the "Mem Usage" (under the Processes tab in Windows Task Manager) drops significantly from about 160 Mb to 6 Mb. However, the "VM Size" remains relatively stable at about 170 Mb.

Best Answer

The “Mem Usage” refers to the "working set" of a process, the amount of memory it is actively using right now, which is related to the physical memory currently used. However, the “VM Size” refers to the process' less frequently used memory that has been paged to disk (i.e. page file or swap file).
When MATLAB and its related windows are minimized, the active memory that was related to the user interface is cleared, while the information on the virtual memory portion is retained.
More information about Windows Task Manager is available on Microsoft® TechNet at the following link: