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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 4.1.0-incubating
    • None
    • rocketmq-store
    • 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

              yukon Xinyu Zhou
              Jas0n918 Jas0n918
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: