Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-290

Memory leaks in org.apache.rocketmq.store.ha.WaitNotifyObject#waitingThreadTable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 4.1.0-incubating
    • Fix Version/s: None
    • Component/s: rocketmq-store
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Yukon yukon
                Reporter:
                Jas0n918 Jas0n918
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: