RAMCacheManager leaks memory when deleted

Bug #143619 reported by Florent Guillaume
4
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
Low
Unassigned

Bug Description

A RAMCacheManager does not clear its associated RAMCache from the global "caches" dictionnary when it's deleted. This leaks memory.

Tags: bugday
Revision history for this message
Andreas Jung (ajung) wrote :

Status: Pending => Accepted

 Supporters added: efge

Can you provide a patch?

Revision history for this message
Florent Guillaume (efge) wrote :

Status: Accepted => Pending

 Supporters removed: efge

Well no, if I had one I'd check it in :)

This is just a note that the problem exists.

Revision history for this message
stephan_hofmockel (dreagonfly) wrote :

Here is a patch plus a little test

Revision history for this message
Tres Seaver (tseaver) wrote :

The patch looks good, and adds on to the fixes for lp:534653.

Changed in zope2:
status: New → Confirmed
tags: added: bugday
removed: bug zope
Revision history for this message
Jens Vagelpohl (dataflake-deactivatedaccount-deactivatedaccount) wrote :
Changed in zope2:
status: Confirmed → Fix Committed
assignee: nobody → Jens Vagelpohl (jens-dataflake)
milestone: none → 2.12.8
Changed in zope2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.