'bzr branch' over svn uses a lot of RAM
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://
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.
I can reproduce this.