You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/12/17 22:31:46 UTC

[jira] [Commented] (QPID-6951) [Java Client] AMQSession.deregisterConsumer() leaks Memory

    [ https://issues.apache.org/jira/browse/QPID-6951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15062867#comment-15062867 ] 

ASF subversion and git services commented on QPID-6951:
-------------------------------------------------------

Commit 1720664 from orudyy@apache.org in branch 'java/trunk'
[ https://svn.apache.org/r1720664 ]

QPID-6951: Stop tracking closed consumers and remove dead code trying to release pending messages on closed consumers as corresponidng queue is already cleared on consumer close

> [Java Client] AMQSession.deregisterConsumer() leaks Memory
> ----------------------------------------------------------
>
>                 Key: QPID-6951
>                 URL: https://issues.apache.org/jira/browse/QPID-6951
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.32, qpid-java-6.0
>            Reporter: Lorenz Quack
>            Assignee: Alex Rudyy
>         Attachments: QPID-6951-fix.diff
>
>
> {{AMQSession.deregisterConsumer()}} contains the following code:
> {code}
> if (_transacted)
> {
>     _removedConsumers.add(consumer);
> }
> {code}
> However, the {{_removedConsumers}} list is only cleaned up on rollback and nowhere else.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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