bzr fast-import performance slows over time
John Arbash Meinel
john at arbash-meinel.com
Mon Apr 20 00:18:56 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Brian de Alwis wrote:
> Hi Ian.
> On 13-Apr-2009, at 9:37 PM, Ian Clatworthy wrote:
>> I'm seeing the same thing on pretty much every import. I'm yet to look
>> into why. As you're seeing, for really deep histories, the pack times
>> get huge so that's part of the story, but certainly not the only part.
> It looks like there is a memory leak somewhere in bzr or fast-import,
> and much of the time comes from swapping and thrashing. The machine has
> about 8GB of memory, and 4GB of swap.
I know I recently fixed one memory leak
I don't think it would account for 8GB of memory consumption.
I know that the fast-import code uses certain logic for caching the file
contents in memory. It may be that its heuristic fails when use with an
extra wide tree.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar