[jboss-jira] [JBoss JIRA] Created: (JBRULES-2422) FireAllRulesRuleBaseUpdateListener to use a WeakReference<StatefulSession> to prevent memory leaks
Juergen (JIRA)
jira-events at lists.jboss.org
Tue Feb 2 16:47:19 EST 2010
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
More information about the jboss-jira
mailing list