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

TemporyQueue will never get unregisterd from JMX which leads to a memory leak

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 5.4.1, 5.4.2
    • 5.5.0
    • None
    • None
    • activemq 5.4.1 and 5.5-SNAPSHOT

    Description

      When you use Session.createTemporaryQueue(...) you will see that the TemporaryQueue will get added to JMX. Now when you call TemporaryQueue.delete() it will not get delete from JMX. So when you make heavy use of TemporaryQueues you will see that the entries in JMX will get bigger and bigger as they will never get removed on delete. This can lead to an OOM very frequently.

      Attachments

        1. AMQ-3041-is-invalid.diff
          2 kB
          Norman Maurer

        Activity

          People

            dejanb Dejan Bosanac
            norman Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: