[ 
https://issues.apache.org/activemq/browse/CAMEL-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57702#action_57702
 ] 

Stan Lewis commented on CAMEL-2484:
-----------------------------------

I was thinking that yesterday and had even added a "removeService()" method to 
CamelContext and implemented it so that when you remove a service it's then 
stopped etc.  Guess you could have a thread that keeps an eye on this list and 
let it periodically garbage collect LRU services.  It'd be another thing to 
tune though, in a case like this you could hit an OOM before the list is 
checked for old services.

> 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.

Reply via email to