Now, That's Smooth: Monitoring Your Memory

By David@smalldog.com

Mac OS X uses what’s termed a “virtual memory system” (VM system) which essentially refers to the amount of memory an application thinks it needs to run, and is therefore allocated. Usually only a small portion of that memory is stored on the physical RAM chips. When (and if) your memory is insufficient in the face of running applications and data processing, the OS will seek out inactive memory and swap the file into a…(ahem)…”swap file” stored on your hard drive to make room for active memory. These files are sent out in units called “pages,” and this specific action is termed a “pageout.” The process of swapping, if too frequent, can slow your computer down and cause your experience to be decidedly un-smooth.

One way to check up on your RAM and VM swapping is to open up Terminal and simply type the word “top.” What you will see is a dialogue that looks like this:

Terminal TOP

What you want to pay attention to is the ratio of “pageins” to “pageouts” (boxed and pointed to in the above figure). If number of “pageouts” is non-zero and growing rapidly, and is near or higher than the “pageins,” it’s time to take action. First, restart your computer. Then, run Terminal and the top command. Last, work as you normally do and monitor how quickly things change…it may be time to invest in some more memory.

By David@smalldog.com

Similar Posts

  • Mac Treat #7: Empty Your Trash Super Fast!

    Emptying the trash in OS X can be a pain. It’s simply one of those easy-to-do-but-ever-so-arduous tasks that devour microseconds of life (actually,…

  • You Don't Say….

    People have been talking (occasionally with expletives) to their computers since way before they could listen. And while speech-to-text has been technically feasible…

  • Instantly Backup Your Address Book

    I typically use iSync and .Mac to backup and sync my Address Book across multiple Macs, and on my Treo cell phone. However,…

  • The Horror: Kernel Panics

    By Todd@Smalldog.com I thought in the spirit of Halloween I would talk about some rather scary things to see on your mac. The…

  • Dozens of Ways to Charge an iPod

    This morning, while scanning Digg.com, I noticed an interesting post about the many, many ways it’s possible to charge an iPod without a…

  • Mail.app and Junk-Mail

    I’ve been using Mail.app for about 3-4 years now (ever since I got my first Mac) and something that makes me continue to…