[rules-users] Object activiates same rule many times
Christina Lau
lau.christina at hit.com.hk
Fri May 18 05:57:02 EDT 2012
Hi all,
I find an odd pattern in the audit log. When an Object is inserted to the
working memory, activation is created many times on same rule. The more
objects are inserted, the duplicated activations are growing exponentially
which degrade the performance a lot.
Here attached part of the audit log:
http://drools.46999.n3.nabble.com/file/n4000630/rule-DOCSEP-1337325521971.log
rule-DOCSEP-1337325521971.log
In the log,
- when object (130) is inserted, rule "C020 - Gate charge (Out M)-B" is
activiated 129 times.
- when object (131) is inserted, rule "C020 - Gate charge (Out M)-B" is
activiated 130 times.
Here is the rule of "C020 - Gate charge (Out M)-B",
The "insert" in RHS only add ChargeDetailRefSeqEntity to working memory that
I don't think it causes the recursive activation.
And I'd already set no-loop to true. Does anyone offer some help here?
Thank you very much,
Christina
--
View this message in context: http://drools.46999.n3.nabble.com/Object-activiates-same-rule-many-times-tp4000630.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list