[ 
https://issues.apache.org/jira/browse/OFBIZ-4220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009164#comment-13009164
 ] 

Erwan de FERRIERES commented on OFBIZ-4220:
-------------------------------------------

Hi Philippe,

I just saw there is also a newer lib version at 
http://code.google.com/p/concurrentlinkedhashmap/.
Is there any point in updating too ?

Change log:
This version provides incremental improvements based on user feedback.

    * Fixes  issue 20 , which identified a race condition when updating a 
value's weight.
    * Reduces memory usage by optimizing the buffering of recency operations.
    * Reduces read contention by improving how a recency buffer is selected.
    * Strict LRU reordering by a more intelligent draining algorithm.
    * Support for limiting the capacity through a plug-in strategy. 

> Current implementation of UtilCache has a memory leak if maxInMemory is set
> ---------------------------------------------------------------------------
>
>                 Key: OFBIZ-4220
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4220
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: ALL
>            Reporter: Philippe Mouawad
>            Priority: Critical
>              Labels: CACHE, LEAK, MEMORY
>         Attachments: TestMemoryLeak.java, leak.png, patch-4220.patch
>
>
> If maxInMemory is set on caches, then current implementation will leak if 
> many puts are done in cache.
> We made some load testing and current implementation ends very rapidly in an 
> OutOfMemory.
> Philippe Mouawad
> http://www.ubik-ingenierie.com

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to