20K rules is not excessive, and this number alone should not cause
out-of-memory exceptions. Mainly, this is due to rules not being well
designed, and in combination with heavy fact loads.
Frequently, a large number of rules results from putting all the decision
data into rule conditions, even when there are many rules with identical
structure in condition and consequence. Offloading the varying constants
into static facts may reduce the number of rules by magnitudes.
Not the number of rules but the maintenance issue is addressed by using
decision tables or some other technique of generating rules from a handier
source.
-W
2012/1/3 Shweta1986 <shweta.a.thakkar(a)gmail.com>
Hi,
I am using drools for 2 of our projects. For one of them I have
more than 20K simple rules. But with number of rules I have started seeing
out of memory exceptions and also configuring 20K rules through guvnor is
difficult. Is there an alternative for this? Is there something like file
upload for drl on guvnor ? Is there a limit on number of rules ?
Thanks,
Shweta
------------------------------
View this message in context: Large number of rules in
Drools<http://drools.46999.n3.nabble.com/Large-number-of-rules-in-Droo...
Sent from the Drools: User forum mailing list
archive<http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.htm...
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users