8 Dec
2003
8 Dec
'03
6:17 p.m.
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