Large binary files

Martin Geisler mg at daimi.au.dk
Thu Oct 9 19:38:41 UTC 2008


Inglada <jordi.inglada at orfeo-toolbox.org> writes:

> First of all, when adding large files, we get this kind of annoying
> message:
>
> Input/couleurs.tif: files over 10MB may cause memory and performance
> problems (use 'hg revert Input/couleurs.tif' to unadd the file)

There is a patch here which allows you to disable the warning:

http://article.gmane.org/gmane.comp.version-control.mercurial.general/9391

The point of the patch is that Mercurial needs something like 2*filesize
of RAM to deal with a file, and so it may not be possible to work with a
repository containing large files on a small computer.

With the filesizes you mention (2 GB satelite photos) I doubt your
machines lack RAM :-) so you might want to apply the patch and disable
the warning.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20081009/86137558/attachment-0001.asc>


More information about the Mercurial mailing list