http://www.mail-archive.com/commons-dev%40jakarta.apache.org/msg02555.ht
ml

Here's something I wrote on the commons LRUMap over two years ago.  Are
things better?

> The memory leak in memory cache happens when the linked list becomes
> inconsistent with the map. EHCache tests to expose this suggest the
> problem
> is with removeAll, but I've seen it with just get/put/remove. The LRU
> memory
> store implementation from EHCache uses an java.util.LinkedHashMap, or
if
> it's not available, a org.apache.commons.collections.map.LRUMap,
thereby
> dramatically reducing the complexity of the code, and eliminating
> opportunities for the linked list and map to get out of sync.
mands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to