hg out of memory

Luca yelsma at tin.it
Thu Jun 9 15:59:28 CDT 2011


Dear Mercurial Users,
my company would like to switch from svn to hg, but when pulling or 
cloning from svn, hg goes in out of memory.
There is a svn revision that takes about 280 mb and all the revisions 
after cannot be cloned neither pulled.

I successfully converted the svn repo to a hg one (with hgsubversion) 
only when I used a 64 bit version of Windows.
After that, I tried to "hgclone" it from a 32 bit Windows machine, but 
it always fails, 'out of memory'.

I see there is a link with some useful hints:
http://stackoverflow.com/questions/4503568/is-it-possible-to-clone-with-hgsubversion-in-steps
but all the strategies don't work fine since there is a svn revision too 
big for "hg on 32".

I also checked that with a 32 bit version of Windows using hg I can 
create a repo and commit a large file (280mb), but then I cannot clone it!!

We need to track source files but also some big binary file, so we need 
to use a tool that can manage also large files, locking them if necessary.
We tried bigfiles extension, but it is a bit complicated since we need 
another way to synchronize big files (e.g. ftp) while with svn we have a 
faster bootstrap time:  "install prerequisites, svn checkout and go". 
This is very useful, especially from foreign base.

HG manages very well branches and can track a big number of files in a 
fast way, but it seems a bit strange we cannot do what the old svn did.
There is a plan to fix this lack on a 32 bit machine?

I would be grateful if someone could help me; advices are welcome.
Thanx in advance.

Luca



More information about the Mercurial mailing list