[
https://issues.apache.org/jira/browse/AMQ-6069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15035777#comment-15035777
]
ASF subversion and git services commented on AMQ-6069:
------------------------------------------------------
Commit 8363c99b51a98eb176e6baea82fcafce3225ba2c in activemq's branch
refs/heads/master from [~cshannon]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=8363c99 ]
https://issues.apache.org/jira/browse/AMQ-6069
Fixed contains method in PrioritizedPendinList which was not returning
correctly. This was causing messages to not be removed from the
dispatchPendingList when purge was called inside a Queue leading to an
eventual OOM error if enough messages were purged. This fix also
improves performance of the contains method.
> 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
>
> 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)