Dylan Jay wrote at 2005-5-13 16:06 +1000:
>When performing a refresh I've read that the cache gets dumped. I've noticed
>after a refresh the reference counts to objects don't go down. Basically the
>entire cache seems to be leaked.
A well known bug -- said to be fixed in Zope 2.8 (because there
the cyclic garbage collector can collect ExtensionClass objects
and therefore get rid of the cyclic cache/content structure).
It is also easily fixable in earlier Zope versions:
add "orig_cache.clear()" before
"self._cache = cache = PickleCache(...)".
>Is this by design or is it a bug?
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -