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

Keith Wall updated QPID-3980:
-----------------------------

    Fix Version/s: 0.17
    
> Last value queue - entries replaced by conflation are never deleted, causing 
> memory leak
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-3980
>                 URL: https://issues.apache.org/jira/browse/QPID-3980
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.16
>            Reporter: Philip Harvey
>             Fix For: 0.17
>
>         Attachments: send-lvq-messages-without-a-consumer.json
>
>
> This issue was uncovered while investigating QPID-3979. 
> The conflation behaviour of last value queues appears correct from the 
> perspective of consumers. However, the message count suggests that conflation 
> is *not* occurring. 
> I checked what happens when ConflationQueueList.add(..) is replacing an 
> existing ConflationQueueEntry. ConflationQueueList calls acquire() on the 
> entry and then tries to discard it. The discard does nothing because it tries 
> again to acquire the message. Therefore, the message stays in the list, 
> causing a memory leak.
> Because the message has been acquired, it is not delivered to consumers - 
> that is why everything appears to work correctly from their point of view.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to