[ZODB-Dev] Re: Memory Errors reading large ZODB

Alan Runyan runyaga at gmail.com
Wed Aug 1 16:16:58 EDT 2007


snip...

> line 96, in
> __setstate__
>     Persistent.__setstate__(self, state)
> MemoryError

means you have run out of memory.  check your jail or how much memory
you have allocated.

you can call cache minimize after a threshold.. maybe every 100 iterations.

there are finer grain mechanisms to do this but i cant remember them
off the top of my head.

http://svn.zope.org/ZODB/trunk/src/ZODB/interfaces.py


cheers
alan


More information about the ZODB-Dev mailing list