rosslichengke-jpg opened a new issue, #7310:
URL: https://github.com/apache/incubator-kie/issues/7310

   ### Describe the bug
   
   Kie session does not completely reset reference to tuples after dispose when 
uses kie session pool, so that these tuples can not be collected by GC. The 
final result is OOM especially there is no cap for pool under high concurrency 
case.
   
   Drools version: 8.44.1. 
   It seems 10.2 has the same issue.
   
   ### Expected behavior
   
   The useless objects such as tuples should be reset after kie session is 
disposed so that GC could collect them.
   
   ### Actual behavior
   
   After session is disposed and GC is completed. There are still many tuples 
left:
   
   <img width="1402" height="1125" alt="image (1)" 
src="https://github.com/user-attachments/assets/e8bb1c68-5f96-4eff-8875-c0bf029453e2";
 />
   
   The GC root:
   
   <img width="839" height="400" alt="image-2026-11-20-11-34-48-673" 
src="https://github.com/user-attachments/assets/98c40576-cf1c-49c5-8017-25c05f5bb0fd";
 />
   
   ### How to Reproduce?
   
   _No response_
   
   ### Output of `uname -a` or `ver`
   
   _No response_
   
   ### Output of `java -version`
   
   _No response_
   
   ### GraalVM version (if different from Java)
   
   _No response_
   
   ### Kogito version or git rev (or at least Quarkus version if you are using 
Kogito via Quarkus platform BOM)
   
   _No response_
   
   ### Build tool (ie. output of `mvnw --version` or `gradlew --version`)
   
   _No response_
   
   ### Additional information
   
   _No response_


-- 
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]

Reply via email to