HQebupt opened a new pull request, #3662: URL: https://github.com/apache/bookkeeper/pull/3662
### Motivation There is memory lead in Bookkeeper client, see the following heap report: <img width="1007" alt="image" src="https://user-images.githubusercontent.com/4970972/203212033-09337cf0-afd1-4b0c-9ddf-3ba246e85849.png"> It happens when opening a non-existent or expired ledger data. The following screen shot is memeory leak point by [Eclipse Memory Analyzer](https://www.eclipse.org/mat/). <img width="799" alt="image" src="https://user-images.githubusercontent.com/4970972/203212114-d75cfcbc-f8d1-4880-977f-aa1847acb837.png"> ### Changes Handle exception and clean up when promise complete exceptionally. Master Issue: [#1](https://github.com/HQebupt/bookkeeper/pull/1) -- 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]
