RE: [ZODB-Dev] ZODB memory problems (was: processing a Very Largefile)
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

RE: [ZODB-Dev] ZODB memory problems (was: processing a Very Largefile)

From: Tim Peters <tim.peters@gmail.com>
Date: Tue May 24 2005 - 17:14:32 CEST

[Jeremy Hylton]
> ...
> It looks like your application has a single persistent instance -- the
> root ExtendedTupleTable -- so there's no way for ZODB to manage the
> memory. That object and everything reachable from it must be in memory
> at all times.

Indeed, I tried running this program under ZODB 3.4b1 on Windows, and
about 4% of the way done it dies during one of the subtransaction
commits, with a StackError: the object is so sprawling that a
megabyte C stack is blown by recursion while trying to serialize it.
Received on Thu Sep 29 16:13:18 2005