[rules-users] Large number of rules in Drools

Michael Anstis michael.anstis at gmail.com
Wed Jan 4 04:56:54 EST 2012


As an aside to Wolfgang's comments, it is possible to import DRL into
Guvnor.

Select "Create New Package->Import from DRL file".

2012/1/4 Wolfgang Laun <wolfgang.laun at gmail.com>

> 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 at 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-Drools-tp3630385p3630385.html>
>> Sent from the Drools: User forum mailing list archive<http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html>at Nabble.com.
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120104/91df84ea/attachment.html 


More information about the rules-users mailing list