Large memory usage during "make stubmap"
Hello, I have tried to convert a rather large SVN repository to git using reposurgeon according to the instructions from http://www.catb.org/~esr/reposurgeon/dvcs-migration-guide.html .
As an example of large repo I created a mirror of FreeBSD base repo (~280000 revisions, repo size is 11G, repodump size is 78Gb) and the "make stubmap" step fails either with traceback like below or is killed with OOM killer (the machine has 16G of memory)
$ make stubmap
reposurgeon "read <freebsd.svn" "authors write >freebsd.map"
Traceback (most recent call last):
File "/home/del/bin/reposurgeon", line 11262, in
main()
File "/home/del/bin/reposurgeon", line 11252, in main
cmd.Cmd.onecmd(interpreter, interpreter.precmd(arg))
File "/usr/local/lib/python2.7/cmd.py", line 221, in onecmd
return func(arg)
File "/home/del/bin/reposurgeon", line 8688, in do_read
repo.fast_import(parse.stdin, parse.options, progress=(verbose==1 and not quiet))
File "/home/del/bin/reposurgeon", line 5395, in fast_import
StreamParser(self).fast_import(fp, options, progress)
File "/home/del/bin/reposurgeon", line 3208, in fast_import
self.svn_process(options, baton)
File "/home/del/bin/reposurgeon", line 4025, in svn_process
self.permissions[node.path] = perms
MemoryError
make: *** [stubmap] Error 1