as suggested in his post by Thomas , we are retracting the facts from memory.
we are doing it in the finally block to make sure a rule session exception
does not leave the facts in memory .
for ex, we came across an incorrect regular expression syntax within the
rules when using incorrect syntax .
java.util.regex.PatternSyntaxException: Illegal character range near index 7
^[A-Za-Z]+
retracting the facts in finally block fixes the leak .
That, besides making sure we are reusing the StatefulSession rather than
creating a new one every time.
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Memory-leak-in-5-2-5-3-tp32...
Sent from the Drools: User forum mailing list archive at
Nabble.com.