"bzr check" in packs format takes more than 2GB RAM
Bug #522296 reported by
GuilhemBichot
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I'm running "bzr check -v" on a copy of our central repository (which takes a disk space of 1.4GB, and has format 1.14).
With bzr 2.1.0rc1 on Linux 64 bit, the process is killed by Linux due to "out of memory" (according to dmesg); the machine has 2GB RAM and no other significant process than this bzr; I repeated this problem twice in a row. I had done a similar command 1.5 years ago, it had worked ok and took 30 hours.
With bzr.dev on Linux 64 bit (another machine), the process is currently running fine, consuming 7GB according to "top" (the machine has 12 GB RAM).
Such huge memory consumption isn't practical.
summary: |
- "bzr check" takes more than 2GB RAM, Linux kills it + "bzr check" in packs format takes more than 2GB RAM |
tags: | added: check memory |
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: performance |
tags: | added: check-for-breezy |
To post a comment you must log in.
I confirm that with 2a this doesn't happen: memory usage is then 900 MB. That's far less than 7GB, though 900MB is still quite a lot; I don't see well why so much memory is needed.
Anyway, I have the 1.14-repo check running now on a machine with 12GB RAM, for 24 hours already, and hope it will finish successfully.