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.<br><br>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.<br>
<br>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.<br><br>-W<br><br><div class="gmail_quote">2012/1/3 Shweta1986 <span dir="ltr">&lt;<a href="mailto:shweta.a.thakkar@gmail.com">shweta.a.thakkar@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">Hi,<br>         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 ?<br>

<br>Thanks,<br>Shweta<br>

        
<br><hr width="300" align="left">
View this message in context: <a href="http://drools.46999.n3.nabble.com/Large-number-of-rules-in-Drools-tp3630385p3630385.html" target="_blank">Large number of rules in Drools</a><br>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html" target="_blank">Drools: User forum mailing list archive</a> at Nabble.com.<br><br>_______________________________________________<br>

rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>