From: Linus Torvalds Date: Sun, 09 Dec 2007 20:57:02 GMT Subject: Re: dmalloc and leaks in git Message-ID: In-Reply-To: <9e4733910712081253t7cd43f87o6001f32fddc01565@mail.gmail.com> On Sat, 8 Dec 2007, Jon Smirl wrote: > > But using dmalloc shows a pervasive problem, none of the git commands > are cleaning up after themselves. For example I ran a simple command, > git-status, and thousands of objects were not freed. One thing to do is to use a better reporting tool. For example, if you use valgrind --tool=massif --heap=yes ... it will generate a postscript file with the allocation history as a graph of the different allocators in different colors etc. That would likely show where the big users come from.. Linus