[
https://jira.jboss.org/jira/browse/JBRULES-2422?page=com.atlassian.jira.p...
]
Juergen resolved JBRULES-2422.
------------------------------
Resolution: Won't Fix
similar to JBRULES-1168, JBRULES-2148: not using drools properties / jsr94 api properly
FireAllRulesRuleBaseUpdateListener to use a
WeakReference<StatefulSession> to prevent memory leaks
--------------------------------------------------------------------------------------------------
Key: JBRULES-2422
URL:
https://jira.jboss.org/jira/browse/JBRULES-2422
Project: Drools
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: drools-core
Affects Versions: 5.0.1.FINAL
Reporter: Juergen
Assignee: Mark Proctor
I had similar issues with StatefulSession (instantiated via JSR94 api) not being released
/ GCed
Investigating the Issue I found JBESB-1796
My problem was also caused by the session still being connected to a GC root via session
-> FireAllRulesRuleBaseUpdateListener -> rulebase -> root
Wouldn't it be more robust to use a WeakReference to the session in
org.drools.base.FireAllRulesRuleBaseUpdateListener? or the listener itself?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira