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

Significant memory footprint increase from 5.8.0 to 5.15.3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.15.3
    • 5.15.4, 5.16.0
    • Broker
    • None
    • Java jdk1.8.0_144

      OS Linux 4.4.19-29.55.amzn1.x86_64

    • Important

    Description

      Recently we upgraded fromĀ 5.8.0 to 5.15.3 on one of our environments and found the broker running out of memory with the old broker configurations.

      I suspect this may be related to the new inflight message size calculation but haven't been able to create a reproducer just yet.

      Broker JVM running with optsĀ 

      -Xss256k -Xms600m -Xmx600m -Xmn128m -Dfile.encoding=ISO-8859-1 -Dlog4j.watchDelay=60000 -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -XX:+PrintPromotionFailure -XX:PrintFLSStatistics=1 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+PrintClassHistogram -verbose:gc -Dsun.rmi.dgc.client.gcInterval=7200000 -Dsun.rmi.dgc.server.gcInterval=7200000
      

      Attachments

        1. messageid_analysis.png
          254 kB
          Johno Crawford
        2. amq-testing.tar.xz
          18 kB
          Johno Crawford
        3. amq_heap2.png
          62 kB
          Johno Crawford
        4. amq_5.8.0.png
          54 kB
          Johno Crawford
        5. amq_5.16.0-SNAPSHOT.png
          50 kB
          Johno Crawford
        6. activemq.xml
          4 kB
          Johno Crawford

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: