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

Re: malloc fails when dealing with huge files

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 11, 2008, 09:11 UTC
Message-ID
<alpine.DEB.1.00.0812111009460.18321@eeepc-johanness>
In-Reply-To
<alpine.LFD.2.00.0812101121401.3340@localhost.localdomain>
Hi,
On Wed, 10 Dec 2008, Linus Torvalds wrote:
> However, git performance with big files would never be wonderful, and 
> things like "git diff" would still end up reading not just the whole 
> file, but _both_versions_ at the same time. Marking the big files as 
> being no-diff might help, though.

Makes me wonder if we should not have a default cut-off, say, 10MB, at which files are automatically tagged with the no-diff attribute (unless overridden explicitely in .gitattributes)?

Ciao, Dscho

Previous: Jeff Whiteside
Message 4 of 4 in “malloc fails when dealing with huge files”
  1. Jonathan BlantonDec 10, 2008
  2. Linus TorvaldsDec 10, 2008
  3. Jeff WhitesideDec 11, 2008
  4. Johannes SchindelinDec 11, 2008

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.