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

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

Hey Claus, makes sense to me.  I've been toying with a tentative set of 
"borrowProducer"/"returnProducer" methods here on the producerCache so that the 
recipient list gets it from the pool but for some reason the test case appears 
to lock up.  Haven't had a chance to see why that is, I'd be interested if you 
get the same results.

Also I think the test case may expose a couple other leaks, though this was 
from earlier testing where I just ensured servicesToClose wasn't getting filled 
with MinaProducers.  If you come up with a fix though before I get a chance to 
work on this further I'd be happy to give the test case a long run just to see 
if any other issues crop up.

> 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