Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2017 14:04:26 -0700
From:      Yuri <yuri@rawbw.com>
To:        Freebsd hackers list <freebsd-hackers@FreeBSD.org>
Subject:   How to see the uncommitted memory size for the process?
Message-ID:  <e606e75c-00a4-717d-9f99-99300372e864@rawbw.com>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e606e75c-00a4-717d-9f99-99300372e864>