I'm trying out hgsubversion under Debian, here is the version information:
% uname -msr
Linux 2.6.29-acct x86_64
% hg svn version
hg: 1.3
svn bindings: 1.5.1
hgsubversion: ff69f1855086
I want to import a large (60000 revisions) remote svn repository and the import seems to run out of memory, at least this is what I see
% time hg clone https://svn.wxwidgets.org/svn/wx/wxWidgets/ hg
...
[1] 30423 killed hg clone https://svn.wxwidgets.org/svn/wx/wxWidgets/ hg
hg clone https://svn.wxwidgets.org/svn/wx/wxWidgets/ hg
[~12 hours total running time, ~30000 revisions pulled]
% time hg pull -u https://svn.wxwidgets.org/svn/wx/wxWidgets/
...
[r47525] FM: fix an issue with GTK filedialog (already fixed in the trunk)
[2] 31608 killed hg pull -u https://svn.wxwidgets.org/svn/wx/wxWidgets/
hg pull -u https://svn.wxwidgets.org/svn/wx/wxWidgets/
13459.60s user 424.80s system 41% cpu 9:19:03.82 total
It seems that this happens because it runs out of memory, at least looking at munin statistics for the machine it's running on I see that its RAM consumption topped at 8GB shortly before it crashed.
Looking at %MEM column in top I see that it starts at ~1% and seems to grow quite quickly, at least it's already 6% after importing just a couple of dozen of revisions.
This might be not a huge problem if there are not many revisions to clone/pull but it literally brings my (4 CPU with 4GB of physical RAM) machine to its knees :-(