|
From: Markus M. <hu...@mo...> - 2009-08-24 22:40:27
|
Hi, I have an application which when using valgrind --log-file=prog.val --leak-check=full --show-reachable=yes -v ./prog shows no memory leak, but when I look at ps or top I see a big memory usage, but I don't know which part of the program or library is allocating and freeing the memory. Is there a way with valgrind to get usage dumps (e.g. by sending a HUP signal) ? Thank you Markus |
|
From: Nicholas N. <n.n...@gm...> - 2009-08-24 22:56:34
|
On Tue, Aug 25, 2009 at 8:17 AM, Markus Moeller<hu...@mo...> wrote: > > I have an application which when using > valgrind --log-file=prog.val --leak-check=full --show-reachable=yes -v > ./prog shows no memory leak, but when I look at ps or top I see a big memory > usage, but I don't know which part of the program or library is allocating > and freeing the memory. Is there a way with valgrind to get usage dumps > (e.g. by sending a HUP signal) ? Your best bet is to try Massif: http://www.valgrind.org/docs/manual/ms-manual.html Nick |