Creating a branch in a repository chews up huge amounts of memory
Bug #50290 reported by
Stuart Bishop
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.
To post a comment you must log in.
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.