Date: Fri, 05 Mar 2010 19:31:23 -0800 From: Yuri <yuri@rawbw.com> To: freebsd-questions@freebsd.org Subject: Is there a way to know how much memory is currently allocated? Message-ID: <4B91CC8B.4010301@rawbw.com>
next in thread | raw e-mail | index | archive | help
Does FreeBSD malloc library provide any API way to know how many bytes are currently allocated by the current process? Memory image size isn't adequate, since it's always much larger because of various reasons, like an extra-memory allocated for the needs of malloc library itself an also due to non-freed blocks, which are left allocated by the library. Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B91CC8B.4010301>