[Zope-dev] Zope Head (2.8) breaks "refresh"

Dieter Maurer dieter at handshake.de
Mon Dec 8 13:17:43 EST 2003


Jeremy Hylton wrote at 2003-12-7 23:01 -0500:
>On Sun, 2003-12-07 at 08:15, Dieter Maurer wrote:
>>   ATT: replacing the cache without clearing it can lead to huge
>>   memory leaks (everything in the old cache is leaked!).
>
>Without commenting on the rest of the bug report, I should mention that
>caches and persistent objects all participate in cyclic GC.  They will
>not leak the way pre-2.8 caches did.

Has the "do not free when a cycle contains an object with destructor"
restriction been removed from the cyclic GC?

It is not unlikely that the cache references an object with a "__del__".
This may keep the cache and all its content.

-- 
Dieter



More information about the Zope-Dev mailing list