bzr-svn out of memory on checkout

Bug #378006 reported by Jaco Vosloo
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
New
Undecided
Unassigned

Bug Description

When using Bazaar 1.14.1 to "bzr branch" 5000 files (500MB) from an svn repo with 3500 revisions the memory footprint grows up to 1.5GB and then crashes because it has filled the available memory and swapspace of my PC running Windows XP.

If I check out the files using svn then bazaar will not "bzr add" the folders until I delete all the .svn folders. Once I have done that it happily "bzr commit" the code using at a maximum 1GB RAM.

This seems similar to the following bug which was supposedly fixed in 2008:
https://bugs.launchpad.net/bzr-svn/+bug/54253

Any ideas or workarounds?
-------- traceback ------------------------
>bzr branch svn+http://server.domain.co.za/svn/Legacy/User/JacoVosloo/Corporate
The svn+ syntax is deprecated, use http://server.domain.co.za/svn/Legacy/User/JacoVosloo/Corporate instead.
bzr: ERROR: exceptions.MemoryError: out of memory

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 727, in exception_to_return_code
  File "bzrlib\commands.pyo", line 922, in run_bzr
  File "bzrlib\commands.pyo", line 559, in run_argv_aliases
  File "bzrlib\builtins.pyo", line 1122, in run
  File "C:/Program Files/Bazaar/plugins\svn\remote.py", line 108, in sprout
  File "bzrlib\bzrdir.pyo", line 1144, in sprout
  File "bzrlib\repository.pyo", line 1493, in fetch
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 1260, in fetch
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 1184, in _fetch_revisions
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 1128, in _fetch_revision_switch
  File "C:/Program Files/Bazaar/plugins\svn\errors.py", line 130, in convert
  File "C:/Program Files/Bazaar/plugins\svn\fetch.py", line 912, in report_inventory_contents
  File "subvertpy\delta.pyo", line 54, in apply_window
MemoryError: out of memory

bzr 1.14.1 on python 2.5.2 (win32)
arguments: ['bzr', 'branch', 'svn+http://server.domain.co.za/svn/Legacy/User/JacoVosloo/Corporate']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [1.14]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [unknown]
  netrc_credential_store C:\Program Files\Bazaar\plugins\netrc_credential_store[unknown]
  qbzr C:\Program Files\Bazaar\plugins\qbzr [0.9.9]
  svn C:\Program Files\Bazaar\plugins\svn [0.5.4]
*** Bazaar has encountered an internal error.

summary: - bzr-svn out of memory on first checkout
+ bzr-svn out of memory on checkout
Jelmer Vernooij (jelmer)
affects: bzr → bzr-svn
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.