Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2193

Artemis fails on OutOfMemoryError with fast producers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.6.3, 2.7.0
    • 2.6.4, 2.8.0
    • Broker, OpenWire

    Description

      The broker fails on OOM Error in a couple of hours of testing with fast producers:

      • The Artemis broker with heap size of 2Gb, global-max-size of 400Mb, and 
        global address-setting to apply DROP policy whenever memory exceeds 150Mb 
        (max-size-bytes). 
      • Two fast producers sending 100 KB messages to 2000 topics every 100 ms each 
      • Client used: ActiveMQ 5.15.2 JMS
      • Tested on Artemis 2.6.3 and 2.7.0-SNAPSHOT
      • Testing time: 2 - 10 h until OOME occurs

      The heap size grows continuously until it runs of out memory. I tested DROP/PAGE/FAIL strategies with no difference. Attached are the log and the broker.xml configuration.

       

      Expectation: Having sharp memory limits the broker should handle with dropping messages on time.

      Attachments

        1. artemis.log
          16 kB
          Konrad Kaczkowski
        2. broker.xml
          6 kB
          Konrad Kaczkowski
        3. jvm-gc.log
          35.37 MB
          Konrad Kaczkowski
        4. resources_usage.png
          44 kB
          Konrad Kaczkowski
        5. screenshot-1.png
          46 kB
          Francesco Nigro

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kkaczkow Konrad Kaczkowski
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: