Creating a branch in a repository chews up huge amounts of memory

Bug #50290 reported by Stuart Bishop
4
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Undecided
Unassigned
bzr (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After creating a fresh repository, if I attempt to create a branch of Launchpad in it RAM usage increases until it hits several hundred megabytes, at which point this machine is unusable.

Creating the branch using '-r 100' and then pulling in a few hundred revisions at a time seems to work around the issue.

Revision history for this message
Michael Ellerman (michael-ellerman) wrote :

There are two patches currently being discussed on the list which should address this.

The first is Aaron's removal of the KnitData cache, and the other is my patch to have KnitData.read_records_iter() return results out of order.

See also, #43702 and #45310.

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

The major cause of this was fixed in bzr.dev revno 1812.

Changed in bzr:
status: Unconfirmed → Fix Released
Revision history for this message
Robert Collins (lifeless) wrote :

this was fixed upstream around 0.10, and the fix is in edgy.

Changed in bzr:
status: Unconfirmed → Fix Released
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.