On Thu, Mar 31, 2011 at 11:36 AM, Adam GROSZER <agros...@gmail.com> wrote:
> I'm trying to iterate over the IntIds utility's object in a huge
> FileStorage DB, calling
> every 1000 iterations or so, but memory usage simply skyrockets.
> Weird is that almost the same code was working with python 2.5 and ZODB
> 3.9.6, now it does not with python 2.6 and ZODB 3.9.6.
I don't think savepoints ever did any cacheGC calls. It's up to you to do that
if you want. Savepoints only allow removal of modified objects from
memory (as they're saved in temporary storage).
If you aren't writing data, savepoints don't buy you anything and you
should simply call cacheGC yourself periodically.
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org