[ZODB-Dev] [Patch] (was: [Bug] Leaking pickle cache references
--> potentially huge memory leaks)
Jeremy Hylton
jeremy at zope.com
Wed Nov 12 16:52:25 EST 2003
On Wed, 2003-11-12 at 15:57, Dieter Maurer wrote:
> Jeremy Hylton wrote at 2003-11-11 17:17 -0500:
> > Actually, this was fixed for ZODB 3.2 by adding a clear() method to the
> > cache. I should look at the PER_DEL / deallocated issue, though.
>
> There is a "PickleCache.clear" method already for ZODB 3.1.
> However, after I used it, Python segfaulted (some indeterminate
> time later).
> Apparently, the 3.1 "clear" releases things that must not be
> released.
That sounds right. The clear() method wasn't safe. I believe it has
been revised in 3.2.
Jeremy
More information about the ZODB-Dev
mailing list