bzr branch leads to out of memory

Bug #488141 reported by Hakan Küçükyılmaz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

How to reproduce with bzr 2.0.2

bzr init-repo /tmp
Shared repository with trees (format: 2a)

This ends with OOM:

time bzr branch lp:maria maria-local-master
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
[- ] 4KB 0KB/s | Finding revisions
Killed##############|] 1619430KB 313KB/s | Fetching revisions:Inserting stream:Walking content 59458/59458

real 616m23.099s
user 421m24.961s
sys 11m52.201s

Please note the ~1.5GB repository size. Actually lp:maria is about 600MB

I tried to branch with bzr 2.0.1 and 2.0.2 on CentOS 5.4, OpenSUSE 11.1, Ubuntu 9.04 on 32-bit and 64-bit machines.

Revision history for this message
Matt Nordhoff (mnordhoff) wrote :

This is a duplicate of bug #456077.

lp:maria uses the 1.9 or 1.14 format, while your new repo uses 2a. Converting on the fly over the network is...not efficient. You should make your local repo 1.9 or 1.14, branch lp:maria, then "bzr upgrade --2a" if you want to upgrade it.

(Or use my 2a branches and save yourself the trouble. ;-)

Revision history for this message
Matt Nordhoff (mnordhoff) wrote :

Also, I'd like to point out that just because bzr has transferred ~1.5 GB of data, that doesn't mean either the source or destination repo is actually that large. It's possible bzr is just being inefficient. :)

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.