XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.3, 2.1.0
    • 2.2.0
    • MQTT
    • None

    Description

      Artemis periodically crashed because of OOM.
      I don't have ability to get heap dump from the server where OOM is happens but I reproduce memory leak on my machine (7 clients send 1message every 100 ms to the 1 subscriber)

      Looks like memory leak occurs in the class MQTTSessionState.OutboundStore because every time when Artemis publish message to subscriber he put to map "artemisToMqttMessageMap" key = (serverId + ":"+consumerId) and value = (mqttId) where serverId is id of message generated on Artemis side.

      This map is never are cleaned expect subscriber will be reconnected.

      Attachments

        1. Screen Shot 2017-05-19 at 3.47.46 PM.png
          465 kB
          Odyldzhon Toshbekov
        2. Screen Shot 2017-05-20 at 10.52.00 PM.png
          403 kB
          Odyldzhon Toshbekov
        3. Screen Shot 2017-05-20 at 11.05.49 PM.png
          394 kB
          Odyldzhon Toshbekov
        4. Screen Shot 2017-05-20 at 11.10.47 PM.png
          201 kB
          Odyldzhon Toshbekov
        5. broker.xml
          1 kB
          Odyldzhon Toshbekov
        6. test_output.txt
          7 kB
          Odyldzhon Toshbekov

        Issue Links

          Activity

            People

              clebertsuconic Clebert Suconic
              odyldzhon@gmail.com Odyldzhon Toshbekov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: