re add large files after activating the largefile extension

Matt Harbison mharbison72 at gmail.com
Fri Dec 13 06:29:05 UTC 2019


On Thu, 12 Dec 2019 03:11:15 -0500, Uwe Brauer <oub at mat.ucm.es> wrote:
>
> Thanks for pointing that out to me.
>
> BTW since mercurial complained (for large files without any of these
> extensions enabled) that it will «consume quite a bit of RAM», that need
> will only occur if I run some hg command on that repository, right?
>
> It will not need these RAM always, because there is now daemon or some
> other process running in the background? I just run ps aux | grep hg
>
> And couldn't find anything, but the message looked a bit strange to me.
>

Mercurial reads the entire file into RAM when working on it- catting out,  
merging, etc.  It won't hold it any other time.  There may be edge cases  
around merging that could use more RAM than normal.  But unless you have  
an old computer, are dealing with 100MB files checked in occasionally or  
smaller files more often, I wouldn't worry too much.  You can get an idea  
of how much space is used by checking the size of .hg/store.  With  
largefiles and lfs, that actually uses more disk space because they are  
stored externally, and uncompressed.



More information about the Mercurial mailing list