oh0873 opened a new issue, #7407: URL: https://github.com/apache/kyuubi/issues/7407
### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) ### Search before asking - [x] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues. ### Describe the bug Kyuubi Heap usage is keep increasing eventually causing a Out Of Memory Kill. Based on Heapdump ST Token Cache never gets freed up causing continuous increase. ```Total of 14971243 instances occupying 898274580 bytes.``` Here's a graph showing kyuubi heap usage over few days. <img width="1337" height="634" alt="Image" src="https://github.com/user-attachments/assets/162a1b8b-2805-444f-8f82-98ea6951a56a" /> ST Token is used during LDAP Authentication. Any application that uses LDAP is vulnerable to this Memory Leak behavior. ### Affects Version(s) 1.10.3 ### Kyuubi Server Log Output ```logtalk Total of 14971243 instances occupying 898274580 bytes. ``` ### Kyuubi Engine Log Output ```logtalk ``` ### Kyuubi Server Configurations ```yaml ``` ### Kyuubi Engine Configurations ```yaml ``` ### Additional context _No response_ ### Are you willing to submit PR? - [x] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix. - [ ] No. I cannot submit a PR at this time. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
