Memory "leak" for bzr+ssh

John Arbash Meinel john at arbash-meinel.com
Sat Mar 15 21:18:18 GMT 2008


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

I just realized what might have been the apparent memory leak.
Specifically, it might be the "cached_utf8" functions. I'm not 100%
positive, but we are caching them as Unicode and as utf-8 strings, which
seems like a pretty good way to waste quite a bit of memory.

Just something we should probably look at.

We might consider turning that cache into an LRU cache, so that it stays
a bit more bounded in memory consumption.

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

iD8DBQFH3D0aJdeBCYSNAAMRAvdvAJ9K85797PAEd/JcaYbz76G/eD3RjQCghUpu
enRipN1Cx4c7Khe6G8Q7oN4=
=OrQe
-----END PGP SIGNATURE-----



More information about the bazaar mailing list