Last Updated: February 25, 2016
·
509
· jacaetevha

Force disk cache to be purged on Mac

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

purge