You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2017/05/19 22:37:04 UTC

[jira] [Commented] (ARTEMIS-1175) Memory Leak Mqtt

    [ https://issues.apache.org/jira/browse/ARTEMIS-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16018138#comment-16018138 ] 

clebert suconic commented on ARTEMIS-1175:
------------------------------------------

I'm not denying an issue.  But it would be nice a test.  So we would know exactly how it's happening. 


We certainly did a lot of testing and we didn't have issues.  So it is likely you found an untested scenario or there is some issue with your usage. 


Anyway.  Help us out and we will fix it. 

> 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
>
>
> 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)