diglloyd
Mac Performance Guide

Two Drives in Your Mac Laptop!
Extreme reliability and performance. Delivered.
Our premium upgrade service provides peace of mind.
MPG Photo Workstation MPG Pro Laptop

WindInMyFace.com — Bicycling blog, gear, rides, training, nutrition

Are you a photographer?

Don’t miss all the great articles, news and analysis at

diglloyd.com

Making Sharp Images

diglloyd.com

Monitoring How Much Memory Is Used

Last updated June 01, 2009 - Send Feedback

When there is not enough real memory, the system has to “swap” memory to and from the hard disk so as to share the real memory between programs, which slows everything down tremendously. This is called paging, or virtual memory paging.

You can check the actual real memory usage of an application in Apple’s Activity Monitor (Activity Monitor is available in /Applications/Utilities).

The RSIZE or Real Memory column (same thing) shows the amount of real memory the program is using on the memory chips. To show the — Real Memory column, right-click (control-click) on the column header and select it. The name changes from RSIZE to Real Memory depending on the width of the column—it’s the same thing!

Below we can see that Photoshop is using 2.55GB and Dreamweaver is using 215MB at that particular moment. Actual usage could be higher when activity is taking place, so observe the usage when programs are actually in use, have files open, etc. Ignore the VSIZE figure.

Activity Monitor
Viewing the actual memory usage of programs in Activity Monitor

In my typical workday, I might simultaneously run Photoshop CS5, Digital Photo Professional, Capture NX 2, Photoshop, DreamWeaver, Mail, Safari and a few other programs all at once. Of course, the system itself runs quite a few other “daemon” and background programs. A typical usage scenario is shown below.

Activity Monitor
Author’s typical memory use scenario, click for larger image

Note that out of 16GB (above), nearly 8GB of memory is being used in one way or another. Here’s your guide to what the terms mean:

Free
The memory is completely unused.
Wired
The memory is locked down and cannot be shared, or swapped to disk (system software and drivers require Wired memory).
Active
The memory is actively being used by programs and/or the system software.
Inactive
Typically means that the memory has been used to cache disk I/O. This is not a waste, it can greatly speed up some programs, like Photoshop.
Used
Ignore this; it’s a summary statistic.
Virtual memory size, Page ins, Page outs, Swap used
The Page ins and Page outs are useful: ideally these numbers stay a zero (but it’s normal for a small amount of paging to occur). If you see the numbers increasing steadily, install more memory; the system is being forced to swap data from real memory onto disk to share the real memory among programs. Check them before and after a time-consuming task: if they’ve changed more than a few percent, then you almost certainly will benefit from installing more memory. Ignore VM size.

Starting programs, running commands, etc will increase the memory requirements. The Real Memory column is the one that matters—that’s the actual space the program is using in the memory chips.


Outstanding 6G SSD Performance!

diglloyd Home Page | Terms of Use | Copyright © 2008-2011 diglloyd Inc, all rights reserved. | Contact | Newsletter + Alerts | Press