'bzr branch' over svn uses a lot of RAM

Bug #243939 reported by Selene ToyKeeper
4
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Confirmed
Medium
Unassigned
bzr-svn (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

While converting a remote svn repo to bzr, I noticed bzr was using a lot of RAM. The command I ran was:

  bzr branch http://svn.gnome.org/svn/sawfish/

It took 2h41m and 558 MiB RAM. After it completed, the directory used 423 MiB on disk, 108 MiB of which was in .bzr/ .
Branching locally without a shared repository took 4 minutes and 130 MiB RAM. So, the behavior is much better without svn.

Thinking it might be fixed upstream, I tried the latest versions of bzr.dev and bzr-svn. The conversion started out somewhat better, but memory use exploded as soon as it finished downloading revisions. It used about 800 MiB RAM, and around 1 GiB swap space. Details are in the attached graph.

For comparison, the same conversion using git-svn took 61 minutes and 72 MiB RAM.

Revision history for this message
Selene ToyKeeper (toykeeper) wrote :
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

I can reproduce this.

Changed in bzr-svn:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Same thing here for "bzr get svn+ssh://<email address hidden>/repo//gnucash/branches/aqbanking3". Unfortunately, I had to abort the process about 2/3 of the way when memory usage hit 2G.

Changed in bzr-svn:
importance: Undecided → Medium
status: New → Confirmed
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.