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

Re: git doesn't like big files when pushing

From
Simon Richter <simon.richter@hogyros.de>
Date
Mar 2, 2006, 12:43 UTC
Message-ID
<4406E85A.9030908@hogyros.de>
In-Reply-To
<Pine.LNX.4.64.0603011448230.22647@g5.osdl.org>
Hi,
Linus Torvalds wrote:
Show 5 quoted lines
> But maybe it's really the case that you can't fit those 8 objects in 
> memory. One option (which might also solve some of the performance issues) 
> is to make the window be based on object _size_ rather than just be a 
> fixed number (ie with an 80MB object, you'd only try a couple of objects 
> around it, not the full window).

Well, doesn't the pack process involve keeping objects of similar size in memory next to each other? My suspicion is that the system is running out of virtual address space because almost every malloc() will attempt to get an entirely new block because the one that was just freed is a few bytes too small.

    Simon
Previous: Linus Torvalds
Message 10 of 10 in “git doesn't like big files when pushing”
  1. Greg KHMar 1, 2006
  2. Greg KHMar 1, 2006
  3. Greg KHMar 1, 2006
  4. Junio C HamanoMar 1, 2006
  5. Greg KHMar 1, 2006
  6. Greg KHMar 1, 2006
  7. Greg KHMar 2, 2006
  8. Martin LanghoffMar 2, 2006
  9. Linus TorvaldsMar 1, 2006
  10. Simon RichterMar 2, 2006

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.