[Bug 367545] Re: Huge memory usage for bzr branch/checkout
    RoelV 
    367545 at bugs.launchpad.net
       
    Tue Jul 31 08:23:21 UTC 2012
    
    
  
Including a workaround now (add large swap space)
-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/367545
Title:
  Huge memory usage for bzr branch/checkout
Status in Bazaar Version Control System:
  Confirmed
Status in “bzr” package in Ubuntu:
  Triaged
Bug description:
  $ uname -a
  Linux odin 2.6.27.9-kn #1 SMP Sat Dec 27 10:40:16 CET 2008 x86_64 GNU/Linux
  $ bzr --version
  Bazaar (bzr) 1.13
    Python interpreter: /usr/bin/python 2.5.2
    Python standard library: /usr/lib/python2.5
    bzrlib: /usr/lib/python2.5/site-packages/bzrlib
  (This is Ubuntu 8.04 on x86_64, with the bzr from the Hardy bzr ppa).
  bzr needs huge amounts of memory when creating a branch or checkout of
  the mysql-server repository.
  To repeat, run this:
      bzr branch lp:mysql-server/6.0
  Running top alongside show (on my machine) the resident memory usage
  of bzr to rise to 633MB before it is finished.
  We have seen bzr abort on out of memory. This seems a big issue, as
  apparently it makes it impossible to develop using bzr with this
  repository on machines with <1Gb of memory.
  User `lifeless` on FreeNode IRC #bzr suggested I file this as a bug.
  The mysql-server/6.0 has a lot of history, the shared repository size
  is about 650 Mb.
  Using a shared repository locally doesn't seem to solve the problem. A
  bzr branch --no-tree takes little memory then, but a bzr checkout
  still uses up >600MB.
To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/367545/+subscriptions
    
    
More information about the foundations-bugs
mailing list