Red Hat Bugzilla – Bug 1263495
Memory leak when deleting a tuple from an unlinked segment
Last modified: 2015-12-21 11:15:26 EST
Description of problem:
Platform BZ for https://issues.jboss.org/browse/DROOLS-913
Steps to Reproduce:
1. See DROOLS-913. The commit contains a unit test
Deleted facts are retained by the ksession and not garbage collected even after ksession.delete()
Deleted facts are freed from the ksession so will be garbage collected after ksession.delete()
Fixed by https://github.com/droolsjbpm/drools/commit/c527e8d28#diff-0c6315935562fbd4bd02dbae8f10bf08 and https://github.com/droolsjbpm/drools/commit/3df503e5a
Verified in BRMS 6.2.0 ER4 by running the original reproducer.
Btw, it seems to be fixed already in BRMS 6.2.0 ER3.