large svn repository import Memory Error exception raised
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
New
|
Undecided
|
Unassigned |
Bug Description
When importing a large repository (more than 10000 revision) with 5-10 branches/tags from a svn repository of 30 GB a MemoryError exception is raised.
I have 6 GB of RAM and I checked the ram consumptions of the bazaar process while importing and it was about 500-600 MB all the times.
Here's the log:
C:\bzr\Trunk>bzr svn-import c:\playall-
Using repository layout: root
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "C:/Program Files (x86)/Bazaar/
File "C:/Program Files (x86)/Bazaar/
File "C:/Program Files (x86)/Bazaar/
File "C:/Program Files (x86)/Bazaar/
File "C:/Program Files (x86)/Bazaar/
File "C:/Program Files (x86)/Bazaar/
File "C:/Program Files (x86)/Bazaar/
File "C:/Program Files (x86)/Bazaar/
File "C:/Program Files (x86)/Bazaar/
File "bzrlib\knit.pyo", line 900, in add_lines
File "bzrlib\knit.pyo", line 959, in _add
File "bzrlib\knit.pyo", line 1765, in _merge_annotations
File "bzrlib\knit.pyo", line 1126, in _get_content
File "bzrlib\knit.pyo", line 1949, in _get_content
File "bzrlib\knit.pyo", line 2008, in _get_one_work
File "bzrlib\knit.pyo", line 1189, in _raw_map_
File "bzrlib\knit.pyo", line 1777, in _parse_record
File "bzrlib\knit.pyo", line 1807, in _parse_
MemoryError
bzr 1.13 on python 2.5.2 (win32)
arguments: ['bzr', 'svn-import', 'c:\\playall-
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files (x86)\Bazaar\
fastimport C:\Program Files (x86)\Bazaar\
launchpad C:\Program Files (x86)\Bazaar\
netrc_
store [unknown]
qbzr C:\Program Files (x86)\Bazaar\
svn C:\Program Files (x86)\Bazaar\
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.