|
From: Nicholas N. <nj...@cs...> - 2005-09-11 20:45:58
|
On Wed, 7 Sep 2005, Julian Seward wrote: >> I am wondering if there is a way to use memcheck or addrcheck, and >> just check for memory leaks, without checking for access errors? > > No, there isn't. You get the full functionality or nothing. That > said, if you just want to check for memory leaks you can probably > get away with something less heavyweight than Valgrind. I'm sure the > Gnome folks used to have a standalone leak detector of some kind, > but I can't remember any of the details. There are a zillion basic leak checkers out there... mpatrol's manual has a section listing many of them. I believe they generally don't do as well as Memcheck/Addrcheck, because the addressability tracking done helps improve Memcheck/Addrcheck's accuracy. N |