You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "Jason Jiang (JIRA)" <ji...@apache.org> on 2017/09/20 04:43:01 UTC
[jira] [Created] (ROCKETMQ-290) Memory leaks in
org.apache.rocketmq.store.ha.WaitNotifyObject#waitingThreadTable
Jason Jiang created ROCKETMQ-290:
------------------------------------
Summary: Memory leaks in org.apache.rocketmq.store.ha.WaitNotifyObject#waitingThreadTable
Key: ROCKETMQ-290
URL: https://issues.apache.org/jira/browse/ROCKETMQ-290
Project: Apache RocketMQ
Issue Type: Bug
Components: rocketmq-store
Affects Versions: 4.1.0-incubating
Reporter: Jason Jiang
Assignee: yukon
Priority: Critical
There are only add-element operations for waitingThreadTable in Class org.apache.rocketmq.store.ha.WaitNotifyObject.
Each time a new thread calls Method WaitNotifyObject#allWaitForRunning, waitingThreadTable get new element.
This leak actually happens in Master Broker when Slave reconnect to the Master, a new HAConnection is created, and WaitNotifyObject#allWaitForRunning will be called in LogHAConnection.WriteSocketService#run.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)