git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-annotate - leaking hundrets of megabytes
@ 2007-10-23 17:00 Sven Herzberg
  2007-10-23 18:14 ` Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Herzberg @ 2007-10-23 17:00 UTC (permalink / raw)
  To: git

Hey,

I just started to write a small tool that's supposed to provide a
graphical annotation view. It's supposed to display the information of
git-annotate and provide a way to browse through the history (so people
can click on links that refer to older revisions, etc.). According to
the man page of git-annotate, I looked into the incremental mode to make
sure the tool can load the information step by step.

However, to make sure the user interface doesn't block while
"git-annotate --incremental" is running, I decided to take a really slow
annotation while developing and then I saw that git-annotate leaks
*lots* of memory (at least in that use-case).

In my example, it used up to 450MB:
http://people.imendio.com/~sven/massif.18740.png

Reproduce:
1. git clone git://git.webkit.org/WebKit.git
2. cd WebKit/WebCore
3. git-annotate --incremental ChangeLog

Regards,
  Sven

PS: Please CC me as I'm not on the list.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-23 20:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-23 17:00 git-annotate - leaking hundrets of megabytes Sven Herzberg
2007-10-23 18:14 ` Linus Torvalds
2007-10-23 20:12   ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).