[ https://issues.apache.org/activemq/browse/CAMEL-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57703#action_57703 ]
Claus Ibsen commented on CAMEL-2484: ------------------------------------ We got a LRUCache that is map based. I recon we can create some bounded List and have a callback when its full so it can auto remove the oldest which it then will close the service. Then there is no need for a background thread. > camel-mina - Using close session could potentially cause memory to be not > released > ---------------------------------------------------------------------------------- > > Key: CAMEL-2484 > URL: https://issues.apache.org/activemq/browse/CAMEL-2484 > Project: Apache Camel > Issue Type: Bug > Components: camel-mina > Affects Versions: 2.1.0, 2.2.0 > Reporter: Claus Ibsen > Assignee: Stan Lewis > Fix For: 2.3.0 > > Attachments: camel-mina-outofmemory-example.zip, > java_pid26327.hprof.tar.gz > > > See nabble > http://old.nabble.com/SocketSessionImpl-in-Mina-component-retained-in-memory-indefinitely-ts27624487.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.