is there purge(8)any use for you?
Purge can be used to approximate initial boot conditions by using a cold disk buffer cache for performance analysis. This does not affect anonymous memory that has been allocated via malloc, vm_allocate, etc.
user213154
source
share