[
https://issues.apache.org/jira/browse/AMQ-6069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041560#comment-15041560
]
Christopher L. Shannon commented on AMQ-6069:
---------------------------------------------
This is a similar fix to AMQ-6066 so this also improves performance.
> Purging a Queue can lead to OOM error with prioritized messages
> ---------------------------------------------------------------
>
> Key: AMQ-6069
> URL: https://issues.apache.org/jira/browse/AMQ-6069
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.12.1
> Reporter: Christopher L. Shannon
> Assignee: Christopher L. Shannon
> Fix For: 5.12.2, 5.13.1, 5.14.0
>
>
> The other day I noticed that when purging a large Queue I receive an out of
> memory error in the broker. I did some investigation and it looks like this
> only happens if using a Queue that is configured to use prioritized messages.
> After analyzing the heap dump it was discovered that after a purge, the
> dispatchPendingList in the Queue is still retaining all messages and not
> freeing them as it should.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)