lp:bzr/2.0 upgrade --2a runs out of memory

John Arbash Meinel john at arbash-meinel.com
Sat Sep 5 03:30:21 BST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


...
> At 5 minutes in, I'm at 430MB using bzr.dev on Linux.
> 
> Note that the raw size of all of your content is only 760MB, so I really
> don't see where we would get to 3.5GB of content. I suppose I could see
> double or so based on the code that is doing delta compression, etc.
> 
> But 3.5GB certainly sounds like something else is coming into play. (A
> memory leak, something strange with our allocation patterns on Mac, etc.)
> 
> 12min in, the peak memory is 800MB, the current memory is 544MB.
> 
> I'm done for the day, but I'll let it run and see what we get.
> 
> John
> =:->
> 
> 

At about 20min in, it had finished the conversion peaking at 1GB or so,
and then started to repack everything to optimize the final repository
structure.

Overall peak memory consumption was 1.3GB.

I wonder, are you on a 64-bit platform? A lot of python objects roughly
double in size on 64-bit. (PyInt == 32=>64bit, pointers 32=>64, etc.)

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqhzT0ACgkQJdeBCYSNAAPKZQCgqipOe1x0yppZDtr5B2PPTegm
0PIAoNc1UeTuuqZW2fZF+Wzk8ZDMeqbz
=mhWt
-----END PGP SIGNATURE-----



More information about the bazaar mailing list