bzr branches overuses resources

Bug #240891 reported by Russel Winder
4
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Undecided
Jelmer Vernooij
BzrTools
Invalid
Undecided
Unassigned

Bug Description

When I run "bzr branches" on my directory containing 11 Bazaar branches, 6 of them in 3 shared repositories the other 5 just branches, memory usage goes up to 1068MB with 540MB resident and flattens my machine (750MB memory 1.5GB swap) for about 10 minutes.

In effect "bzr branches" is unusable. I have no idea what the algorithm is being used but can I suggest it needs changing.

Revision history for this message
Aaron Bentley (abentley) wrote :

the branches command just uses the standard BzrDir.find_branches method, so I don't think it's a bug in bzrtools.

Revision history for this message
Andrew Bennetts (spiv) wrote :

I've seen this behaviour if I have the bzr-svn plugin installed (not all versions of bzr-svn + the python-subversion bindings seem to cause it, but I think the versions in Ubuntu Hardy do). Russel, can you tell us if you have bzr-svn installed, and if so if uninstalling it fixes the problem?

Revision history for this message
Russel Winder (russel) wrote : Re: [Bug 240891] Re: bzr branches overuses resources

Andrew,

On Wed, 2008-06-18 at 23:53 +0000, Andrew Bennetts wrote:
> I've seen this behaviour if I have the bzr-svn plugin installed (not all
> versions of bzr-svn + the python-subversion bindings seem to cause it,
> but I think the versions in Ubuntu Hardy do). Russel, can you tell us
> if you have bzr-svn installed, and if so if uninstalling it fixes the
> problem?

I am away on a 5-day break just now, so I'll try the experiment next
week. Apologies for the delay.

In case it wasn't obvious :-) Yes I do have bzr-svn installed. I am
using the latest branch from Jelmer.
--
Russel.
====================================================
Dr Russel Winder Partner

Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084
London SW11 1EN, UK. m: +44 7770 465 077

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

This was a bug in bzr-svn that's now fixed.

affects: bzr → bzr-svn
Changed in bzr:
assignee: nobody → jelmer
Changed in bzr-svn:
status: New → Fix Released
Changed in bzrtools:
status: New → Invalid
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.