activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Odyldzhon Toshbekov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARTEMIS-1175) Memory Leak Mqtt
Date Sat, 20 May 2017 20:16:04 GMT

     [ https://issues.apache.org/jira/browse/ARTEMIS-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Odyldzhon Toshbekov updated ARTEMIS-1175:
-----------------------------------------
    Attachment: Screen Shot 2017-05-20 at 11.10.47 PM.png

> Memory Leak Mqtt
> ----------------
>
>                 Key: ARTEMIS-1175
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1175
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: MQTT
>    Affects Versions: 1.5.3, 2.1.0
>            Reporter: Odyldzhon Toshbekov
>         Attachments: Screen Shot 2017-05-19 at 3.47.46 PM.png, Screen Shot 2017-05-20
at 10.52.00 PM.png, Screen Shot 2017-05-20 at 11.05.49 PM.png, Screen Shot 2017-05-20 at 11.10.47
PM.png
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message