When I try to do a bzr branch from my svn repository I get an out of memory error. The svn repository is very large. Is there a way to give bzr more memory?
+3
A:
Try to branch in small steps. I.e. if you have 1000 revisions in your svn repo, try to branch by 100 revisions or so. I.e. first step
bzr branch URL/to/svn/repo -r100
Then increment revno by the 100
bzr pull -r200
bzr pull -r300
and so on.
bialix
2010-01-15 21:21:37
I tried this, bzr pull -r20 works, but bzr pull -r21 fails with out of memory error.
cquillen
2010-01-15 21:26:23
So, about adding memory. You may want to try 2.1.0b4 or rc1 or even final which uses less memory than bzr 2.0.x. Also you may want to try to run conversion on 64-bit machine, because on 32-bit machine bzr (as being written in Python tool) can't use more than 2GB (3GB if you have enabled this in your BIOS and OS).Please, send your question to main bzr mailing list, thus you'll have more helpful suggestions. http://lists.canonical.com/mailman/listinfo/bazaar or http://news.gmane.org/gmane.comp.version-control.bazaar-ng.general
bialix
2010-01-15 21:43:10
Version 2.1 did not work, but using a 64-bit machine did.
cquillen
2010-01-18 17:53:58
When you'll finish the conversion, please send your impressions to bzr mailing list. thanks.
bialix
2010-01-18 18:57:40