[Metakit] memory leak?
zooko at zooko.com
zooko at zooko.com
Sun Jan 22 14:29:21 CET 2006
Dear Metakitters:
Thank you for metakit!
This Python script eventually consumes all available memory and dies. Is this
a bug?
I compiled metakit 2.4.9.5 with gcc 3.3. I'm using Python 2.4.2 as shipped by
Ubuntu (Breezy).
Thanks in advance for any help.
Regards,
Zooko
-------
import metakit, os
store = metakit.storage("leakcheck", 1)
db = store.getas("test_db[k:B]")
while True:
k = os.urandom(20)
db.append(k=k)
db.delete(db.find(k=k))
More information about the Metakit
mailing list