horizonzy opened a new pull request, #4468:
URL: https://github.com/apache/bookkeeper/pull/4468

   When the Auditor checkAllledgers, it will open the ledger with NoRecovery 
mode, it will register the listeners to the AbstractZkLedgerManager#listeners. 
   
   The listener won't be removed if we don't close the ReadOnlyLedgerHandle, so 
there will be lots of listeners in the heap memory.
   
   
   The heap dump:
   
   <img width="1572" alt="image" 
src="https://github.com/user-attachments/assets/8b4cd6d3-b7bf-4ef2-9c47-2e076bdbbba0";>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to