memory leak?

[email protected] Sun, 22 Jan 2006 14:29:21 -0400
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
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))
_____________________________________________
Metakit mailing list  -  [email protected]
http://www.equi4.com/mailman/listinfo/metakit