git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [REGRESSION, BISECTED] `git checkout <branch>` started to be memory hog

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 22, 2011, 20:26 UTC
Message-ID
<7vaac6ysd2.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20110722173601.GA9422@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> Did you want me to write a commit message? I think you might do a better
> job of writing a coherent one for this particular patch.
I didn't do a very good job.
commit 06a21454b424d5bc0a36ed76ce46bb16ed156774
Author: Jeff King <peff@peff.net>
Date:   Fri Jul 22 11:00:03 2011 -0600
    streaming: free git_istream upon closing
    
    Kirill Smelkov noticed that post 1.7.6 "git checkout" started leaking
    tons of memory. close_istream() forgot to release its buffer and the
    caller was not freeing it, either.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
At least it needs your S-o-b ;-).
Previous: Jeff KingNext: Jeff King
Message 5 of 8 in “[REGRESSION, BISECTED] `git checkout <branch>` started to be memory hog”
  1. Kirill SmelkovJul 22, 2011
  2. Jeff KingJul 22, 2011
  3. Junio C HamanoJul 22, 2011
  4. Jeff KingJul 22, 2011
  5. Junio C HamanoJul 22, 2011
  6. Jeff KingJul 22, 2011
  7. Junio C HamanoJul 22, 2011
  8. Kirill SmelkovJul 23, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.