BTree + CHK Inefficiencies

John Szakmeister john at szakmeister.net
Fri Aug 6 00:41:31 BST 2010


On Thu, Aug 5, 2010 at 12:30 PM, John Arbash Meinel
<john at arbash-meinel.com> wrote:
[snip]
> Yeah, it is actually written for checkout, but I could trigger the base
> bug using 'bzr ls -R' without having to actually extract file content.

Very cool.  I might grab the code and try this one on of our larger
repositories.  Right now, we had to take a different approach to the
problem because checkout would fail on most of our boxes--it consumed
several GB of memory, which ultimately caused the C extension to fail.
 Disabling the C extension would allow it to succeed eventually, but
you needed 3+ GB of memory available--which was difficult to come by
since we're all running VMs--not to mention it was pretty slow.

BTW, thanks for posting all of the tidbits about how memory is
consumed and such.  It helps poor saps like me get to know the
internals better without having looked at actual code.

-John



More information about the bazaar mailing list