This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ned.deily, tjhnson, vstinner
Date 2014-10-02.08:00:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412236837.01.0.906042369423.issue22534@psf.upfronthosting.co.za>
In-reply-to
Content
I modified the example a little bit to display the RSS memory 10 times. The RSS increases by +176 kB at the beginning and then it is stable.

I tested on Fedora 20 (Linux): anydbm.open('bla', 'c') creates a 'bsddb._DBWithCursor' object. Can you please give us the DBM type returned by:

$ ./python
Python 2.7.8+ (2.7:9b4673d7b046, Oct  1 2014, 00:20:22) 
>>> import anydbm
>>> d=anydbm.open('bla', 'c')
>>> type(d)
<class 'bsddb._DBWithCursor'>
>>> d.close()

The loop of your example can maybe by simplified to:

d=anydbm.open('bla', 'c')
d.close()

instead of

sh = shelve.open('blah')
sh.close()
History
Date User Action Args
2014-10-02 08:00:37vstinnersetrecipients: + vstinner, ned.deily, tjhnson
2014-10-02 08:00:37vstinnersetmessageid: <1412236837.01.0.906042369423.issue22534@psf.upfronthosting.co.za>
2014-10-02 08:00:36vstinnerlinkissue22534 messages
2014-10-02 08:00:36vstinnercreate