[ 
https://issues.apache.org/activemq/browse/AMQ-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Jencks closed AMQ-2166.
-----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 5.4.0)
                   5.3.0

I modified the synchronization in the patch slightly, applied in rev 813992.  
Many thanks for the patch!  Glad to get this into 5.3.

> MemoryLeak in the ResourceAdapter (ManagedConnectionProxy)
> ----------------------------------------------------------
>
>                 Key: AMQ-2166
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2166
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JCA Container
>    Affects Versions: 4.1.0, 4.1.1, 4.1.2, 5.0.0, 5.1.0, 5.2.0
>            Reporter: Mario Siegenthaler
>            Assignee: David Jencks
>             Fix For: 5.3.0
>
>         Attachments: AMQ-2166.patch
>
>   Original Estimate: 10 minutes
>  Remaining Estimate: 10 minutes
>
> The ActiveMQ JCA Resource Adapter leaks about 1Kb of memory when opening and 
> closing sessions on the same connection. As soon as the connection is closed 
> this memory is released, but it's a common use case to keep the connection 
> for a very long time (ie aquire at startup and relase at shutdown).
> The leak happens because the ManagedConnectionProxy holds a list of sessions 
> that have been openend, but there's no code that removes a closed session 
> from the list.

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