Comment 3 for bug 277171

Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 277171] Re: Bazaar uses too much memory

On Fri, 2008-10-03 at 01:11 +0000, Jelmer Vernooij wrote:
> What sort of size was the tree that had to be created ? Thousands of
> files, many gigabytes of data?

Yes and Yes.

About 28,000 files and about 41 GB. This is my photos repository of the
digital photos I've taken, and more importantly for version control,
touched up.

For those reading this bug looking for a work around. It turns out, at
least for me the first 'bzr co' that crashed created working directory,
but marked things as deleted. So they need to be reverted. It seems
that revert has the same problem so I set it up so that each leaf node
directory will get reverted staying bellow the amount of RAM I have. My
repository is JPEGs, so this command worked for me:

    $ bzr status | grep jpg | xargs -n 1 dirname | sort -u | xargs -n 1
--verbose bzr revert