How to catch a memory leak?

Chuck Swiger cswiger at mac.com
Fri Jan 19 20:34:04 UTC 2007


On Jan 19, 2007, at 12:00 PM, Roger Olofsson wrote:
> The application vlc (found in ports) when run on FBSD 5.x and 6.x  
> behaves as if there's a memory leak somewhere hidden in it.
[ ... ]
> My question is how do I track down a possible memory leak and would  
> there be a tool to monitor (from outside the application) what  
> process that allocates memory and how much?

Consider something like the valgrind port or dlmalloc.

-- 
-Chuck



More information about the freebsd-questions mailing list