[ https://issues.apache.org/jira/browse/OFBIZ-4220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009332#comment-13009332 ]
Philippe Mouawad commented on OFBIZ-4220: ----------------------------------------- Hello Erwan, I cannot answer to this question, I didn't follow very closely this library. If JUnit tests cover widely the class then there is no big risk , otherwise it would require more thorough testing. I can test with this last version if you want but it will only answer to the leak issue. Anyway issue is fixed even without upgrading. Regards Philippe > 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