Can I know how many bytes were allocated by malloc in my process?

Ivan Voras ivoras at freebsd.org
Mon Aug 30 10:21:16 UTC 2010


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.




More information about the freebsd-questions mailing list