All Posts by Date or last 15, 30, 90 or 180 days.
also by Lloyd: photography and

Links on this site earn me fees or commissions.
As an Amazon Associate I earn from qualifying purchases @AMAZON

Consult with Lloyd: cameras, computers, backup, etc...
Lloyd’s Patreon
Designed for the most demanding needs of photographers and videographers.
Connect and charge all of your devices through a single Thunderbolt or USB-C port.

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...

Benro Induro Hydra 2 Waterproof Carbon Fiber Series #2 Tripod
$475 $175
SAVE $300 | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2020 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__