Message228181
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() |
|
Date |
User |
Action |
Args |
2014-10-02 08:00:37 | vstinner | set | recipients:
+ vstinner, ned.deily, tjhnson |
2014-10-02 08:00:37 | vstinner | set | messageid: <1412236837.01.0.906042369423.issue22534@psf.upfronthosting.co.za> |
2014-10-02 08:00:36 | vstinner | link | issue22534 messages |
2014-10-02 08:00:36 | vstinner | create | |
|