Date: Mon, 30 Aug 2010 12:21:06 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-questions@freebsd.org Subject: Re: Can I know how many bytes were allocated by malloc in my process? Message-ID: <i5g0mh$bom$1@dough.gmane.org> In-Reply-To: <4C7B80F2.3050301@rawbw.com> References: <4C7B80F2.3050301@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/30/10 11:59, Yuri wrote: > google-perftools malloc library has such feature. > But does FreeBSD system allocator have it? Maybe getrusage(2) can help you, though it also counts non-malloc() allocations.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?i5g0mh$bom$1>