activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Siegenthaler (JIRA)" <>
Subject [jira] Created: (AMQ-2166) MemoryLeak in the ResourceAdapter (ManagedConnectionProxy)
Date Tue, 17 Mar 2009 10:57:39 GMT
MemoryLeak in the ResourceAdapter (ManagedConnectionProxy)

                 Key: AMQ-2166
             Project: ActiveMQ
          Issue Type: Bug
          Components: JCA Container
    Affects Versions: 5.2.0, 5.1.0, 5.0.0, 4.1.2, 4.1.1, 4.1.0
            Reporter: Mario Siegenthaler

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.

View raw message