You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "martinweiler (via GitHub)" <gi...@apache.org> on 2024/09/20 17:34:02 UTC

[I] Memory leak with BusinessRulesTaskHandler using drl files [incubator-kie-issues]

martinweiler opened a new issue, #1491:
URL: https://github.com/apache/incubator-kie-issues/issues/1491

   Using a stateless process orchestrating rules with a BusinessRulesTaskHandler referencing drls, eg:
   
   ```
   <bpmn2:businessRuleTask id="BusinessRuleTask_1" drools:ruleFlowGroup="visas" 
      name="Visa check" implementation="http://www.jboss.org/drools/rule">
   ```
   
   we can see that each invocation is done using a stateful session. These sessions are kept in the [SessionAwareKnowledgeBase.statefulSessions](https://github.com/apache/incubator-kie-drools/blob/main/drools-kiesession/src/main/java/org/drools/kiesession/rulebase/SessionsAwareKnowledgeBase.java#L85) map, resulting in a memory leak over 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: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Memory leak with BusinessRulesTaskHandler using drl files [incubator-kie-issues]

Posted by "martinweiler (via GitHub)" <gi...@apache.org>.
martinweiler closed issue #1491: Memory leak with BusinessRulesTaskHandler using drl files
URL: https://github.com/apache/incubator-kie-issues/issues/1491


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org