[issue881] out of memory error during "hg convert"
Peter Amstutz
mercurial-bugs at selenic.com
Tue Dec 18 17:05:23 UTC 2007
New submission from Peter Amstutz <tetron at interreality.org>:
While doing "hg convert" of a large svn repository (5500 commits, several
gigabytes of data, a number of large binary files of 10 to 50 megabytes or more)
I get this error after processing 5100 revisions (only 300 left to go!)
I am using Hg 0.9.5 on Fedora 7:
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 0.9.5)
Traceback (most recent call last):
File "/usr/bin/hg", line 14, in <module>
mercurial.dispatch.run()
File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 20, in run
sys.exit(dispatch(sys.argv[1:]))
File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 29, in
dispatch
return _runcatch(u, args)
File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 45, in
_runcatch
return _dispatch(ui, args)
File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 348, in
_dispatch
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 401, in
_runcommand
return checkargs()
File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 357, in
checkargs
return cmdfunc()
File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 342, in
<lambda>
d = lambda: func(ui, *args, **cmdoptions)
File "/usr/lib/python2.5/site-packages/hgext/convert/__init__.py", line 380,
in convert
c.convert()
File "/usr/lib/python2.5/site-packages/hgext/convert/__init__.py", line 270,
in convert
self.copy(c)
File "/usr/lib/python2.5/site-packages/hgext/convert/__init__.py", line 235,
in copy
data = self.source.getfile(f, v)
File "/usr/lib/python2.5/site-packages/hgext/convert/subversion.py", line 213,
in getfile
data, mode = self._getfile(file, rev)
File "/usr/lib/python2.5/site-packages/hgext/convert/subversion.py", line 644,
in _getfile
info = svn.ra.get_file(self.ra, file, revnum, io)
File "/usr/lib/python2.5/site-packages/libsvn/ra.py", line 397, in svn_ra_get_file
return apply(_ra.svn_ra_get_file, args)
MemoryError: out of memory
----------
messages: 4627
nosy: tetron
priority: bug
status: unread
title: out of memory error during "hg convert"
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue881>
____________________________________________________
More information about the Mercurial-devel
mailing list