qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew MacBean (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-5795) Closing a connection leaks a ConnectionAdapter object
Date Mon, 09 Jun 2014 10:21:02 GMT

     [ https://issues.apache.org/jira/browse/QPID-5795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Andrew MacBean resolved QPID-5795.

    Resolution: Fixed

> 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: Rob Godfrey
>             Fix For: 0.29
> 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

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

View raw message