How to see the uncommitted memory size for the process?

Yuri yuri at rawbw.com
Sun Jul 9 21:04:34 UTC 2017


When malloc libraries release memory, they sometimes don't unmap it, but 
instead call madvise(MADV_DONTNEED). Such memory normally first stays 
resident, but is later discarded, instead of swapped, when some other 
process needs more memory.

Is there a way to see the amount of committed (vs. uncommitted) memory 
for the process?


Yuri




More information about the freebsd-hackers mailing list