Jon Kranes created DROOLS-1233:
----------------------------------
Summary: Memory references to removed facts are retained for certain rules
Key: DROOLS-1233
URL:
https://issues.jboss.org/browse/DROOLS-1233
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 6.4.0.Final
Reporter: Jon Kranes
Assignee: Mario Fusco
Attachments: drools-memory-test.zip, gc-root.tiff, heap-dump.tiff
Given a simple rule of a specific pattern, Drools maintains references in a stateful
session to fact objects even after the facts have been withdrawn from working memory.
For example, given the following rule:
{code}
rule "TestRule"
when
$tc : TestClass()
not TestClass2(name == $tc.name)
then
insert(new TestClass2($tc.getName()));
end
{code}
Drools will maintain an internal reference to instances of TestClass even after they have
been explicitly deleted from the session.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)