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

Re: About single user setup for lightweights

From
Martin Geisler <mg@lazybytes.net>
Date
Mar 19, 2010, 09:53 UTC
Message-ID
<87k4t81vt8.fsf@hbox.dyndns.org>
In-Reply-To
<32541b131003181913v7319d6a1ydd72c0177729dbf4@mail.gmail.com>
Avery Pennarun <apenwarr@gmail.com> writes:
> git sucks at handling large binary files (>50 megs or so) unless you
> have boatloads of RAM. If your binary files are moderately sized (a
> few megs) then it'll probably be reasonably efficient. I don't know
> about hg and bzr for memory usage.

Mercurial also uses lots of RAM, way more than I had hoped. I did some tests with this recently:

  http://markmail.org/message/uxqtmmnkyimxse5b
They show a factor 3-6 blowup when working with a 256 MB file.

We don't really recommend storing such large files in Mercurial. Instead we recommend storing the files outside of the tree, e.g., on a server with a huge disk. The bfiles extension can do this:

  http://mercurial.selenic.com/wiki/BfilesExtension
-- 
Martin Geisler

Fast and powerful revision control: http://mercurial.selenic.com/
Previous: Avery PennarunNext: Avery Pennarun
Message 3 of 6 in “About single user setup for lightweights”
  1. Harry PutnamMar 19, 2010
  2. Avery PennarunMar 19, 2010
  3. Martin GeislerMar 19, 2010
  4. Avery PennarunMar 19, 2010
  5. Ben FinneyMar 19, 2010
  6. Sitaram ChamartyMar 19, 2010

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.