Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-6069

Purging a Queue can lead to OOM error with prioritized messages

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.12.1
    • Fix Version/s: 5.12.2, 5.13.1, 5.14.0
    • Component/s: Broker
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cshannon Christopher L. Shannon
                Reporter:
                cshannon Christopher L. Shannon
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: