All Posts by Date or last 15, 30, 90 or 180 days.

As an Amazon Associate I earn from qualifying purchases @AMAZON

Designed for the most demanding needs of photographers and videographers.
The fastest, toughest, and most compatible portable SSD ever with speeds up to 2800MB/s.

Monitoring Memory Usage

OWC blog has an article on memory usage.

The main thing to watch for with memory is the use of Compressed memory. The use of compressed memory indicates that at some point the system was under memory pressure. If Compressed memory is seen regularly (especially if over a gigabyte), it’s a strong hint to get more memory.

One confusing thing about memory usage is Cached Files as shown below; this is just the amount of memory the OS X file system is using to keep files in memory; it does not compete with application memory usage as it is yielded up for any other use when needed.

Still, it is confusing when looking at what is actually in use to have Cached Files taking up ~21GB as here. There is a simple way to fix this: open up a Terminal window and type “sudo purge”:

diglloydMP:MPG lloyd$ sudo purge

Toggle to see the before and after memory usage below. Note that Memory Used discounts memory used for caching already, but using the purge command is useful for other reasons, like getting consistent results when testing performance.

* man page: The purge command can be used to approximate initial boot conditions with a cold disk buffer cache for performance analysis. It does not affect anonymous memory that has been allocated through malloc, vm_allocate, etc.

Memory usage in activity monitor
View all handpicked deals...

FUJIFILM GF 20-35mm f/4 R WR Lens
$2499 $1999
SAVE $500

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | X.com/diglloyd
Copyright © 2020 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__