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

Claus Ibsen edited comment on CAMEL-2484 at 2/20/10 12:00 PM:
--------------------------------------------------------------

Stan maybe I had better luck than you with the acquire / release thingy.

I have just committed a patch.

ProducerCache will no longer add created producers for management (with does 
not make too much sense as JMX can then grow too much).
Also I fixed an issue with stopping cached resources if they where cached using 
a LRUCache.
Now Camel should properly stop cached producers when being stopped.

Please give it a test on your system as well. For example the long running 
example.

trunk: 912103 + 912105

      was (Author: davsclaus):
    Stan maybe I had better luck than you with the acquire / release thingy.

I have just committed a patch.

ProducerCache will no longer add created producers for management (with does 
not make too much sense as JMX can then grow too much).
Also I fixed an issue with stopping cached resources if they where cached using 
a LRUCache.
Now Camel should properly stop cached producers when being stopped.

Please give it a test on your system as well. For example the long running 
example.

trunk: 912103.
  
> 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