XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3, 2.1.0
    • Fix Version/s: 1.6.0, 2.2.0
    • Component/s: MQTT
    • Labels:
      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. test_output.txt
          7 kB
          Odyldzhon Toshbekov
        2. Screen Shot 2017-05-20 at 11.10.47 PM.png
          201 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 10.52.00 PM.png
          403 kB
          Odyldzhon Toshbekov
        5. Screen Shot 2017-05-19 at 3.47.46 PM.png
          465 kB
          Odyldzhon Toshbekov
        6. broker.xml
          1 kB
          Odyldzhon Toshbekov

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: