Keith Wall created QPID-5795:
--------------------------------

             Summary: Closing a connection leaks a ConnectionAdapter object
                 Key: QPID-5795
                 URL: https://issues.apache.org/jira/browse/QPID-5795
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.29
            Reporter: Keith Wall
            Assignee: Keith Wall


We currently have a regression on trunk (0.29) whereby closure of a messaging 
connection (any AMQP version) causes a ConnectionAdapter object to be leaked.

On connection close (normal or otherwise), the code fails to arrange for the 
reversal  of ACO#registerChild, therefore the maps ACO#_childrenByName etc 
permanently retain the reference to the ConnectionAdapter.  The leak is large 
because this causes the sizeable IO buffers to be retained too.

This causes any long running test, that creates and closes many connections 
over the lifetime of the Broker to run the risk of OOM.  This problem has been 
noticed owning to the failure of the long running TCK test (which has been 
failing with OOM).




--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to