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

Memory leak in activemq-jdbc-store

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.13.1, 5.13.3
    • None
    • Broker, JDBC
    • None

    Description

      Hi!

      ActiveMQ has memory leak in activemq-jdbc-store module.
      In this class org.apache.activemq.store.jdbc.JdbcMemoryTransactionStore there are two HashMaps: topicStores and queueStore. And these maps are filled with topics and queues meta information when new topic or queue is created. But there is no code that removes data from these maps.
      So when dynamic queue or topic creation with following auto deleting of empty destinations is used broker gets OutOfMemoryError after some time.
      It's needed to remove destination from these maps and may be other similar collections when auto deleting mechanism deletes inactive destination.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Donz Kirill Danilov
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: