[ https://issues.apache.org/jira/browse/QPID-3979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Wall updated QPID-3979: ----------------------------- Status: Ready To Review (was: In Progress) > Last value queue memory leak > ---------------------------- > > Key: QPID-3979 > URL: https://issues.apache.org/jira/browse/QPID-3979 > Project: Qpid > Issue Type: Bug > Components: Java Broker > Affects Versions: 0.12, 0.14, 0.16, 0.17 > Reporter: Philip Harvey > Assignee: Keith Wall > Attachments: 0001-QPID-3979-Java-Broker-Conflation-queues.patch > > > I have observed a memory leak when using a last value queue. > Upon investigation, it seems that this is due to a bug in the management of > ConflationQueueList._latestValuesMap. This map is keyed by the configured > conflation key. Whilst entries are correctly replaced when new messages > arrive, they are never *deleted*. Therefore, an entry remains in the map for > every key value that has ever existed. > The problem is compounded by the fact that the retained > ConflationQueueEntry's can reference other entries - that is how the linked > list behaviour of the queue list is achieved. Therefore, retaining a single > entry in the aforementioned map can cause a large number of other entries to > remain in memory. -- 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: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org