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
Attachments
Issue Links
- links to