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

Purging a Queue can lead to OOM error with prioritized messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.12.1
    • 5.12.2, 5.13.1, 5.14.0
    • Broker
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: