[rules-users] Decision table -1 java file per rule - optimization

jalex jaalex at gmail.com
Thu May 2 01:52:04 EDT 2013


Yes, just wanted to confirm if this was the expected behavior. Is
there a thumb rule for the permgen size based on # rules. Right now, i
have 128M. How much more should be allocated to accomodate these
additional classes?

Thanks!

On Thu, May 2, 2013 at 10:30 AM, Mark Proctor [via Drools]
<ml-node+s46999n4023621h36 at n3.nabble.com> wrote:
> There is not. Why not just increase perm gen?
>
> Mark
> On 2 May 2013, at 05:28, jalex <[hidden email]> wrote:
>
>> Hi,
>>
>> I noticed that each row in the decision table speadsheet is converted to a
>> separate java file during runtime (ex:
>> Rule_Pricing_bracket_352_941a618e0e72407d89d04664d5809e7f.java) . This
>> will
>> lead to the number of classes increasing as the number of rules grow. Is
>> there a way to optimize such that all rules in 1 spreadsheet gets
>> converted
>> to a single java file?
>>
>> Sample logs  during runtime, each "rule applied" log corresponds to firing
>> of a single row
>>
>> 04/29/2013 15:33:22,434 DEBUG [http-9080-1]
>> (Rule_Pricing_bracket_352_941a618e0e72407d89d04664d5809e7f.java:8)
>> aa410236-727c-4d48-8761-79088dca9b31 Rule applied: Default_A_rule40
>> 04/29/2013 15:33:22,435 DEBUG [http-9080-1]
>> (Rule_Pricing_bracket_201_e2c74982a30d4e8eb128f07fbba73803.java:8)
>> aa410236-727c-4d48-8761-79088dca9b31 Rule applied: Default_B_rule40
>> 04/29/2013 15:33:22,436 DEBUG [http-9080-1]
>> (Rule_Pricing_bracket_50_5de087aa5a3345adbc06748474dc53b3.java:8)
>> aa410236-727c-4d48-8761-79088dca9b31 Rule applied: Default_C_rule40
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://drools.46999.n3.nabble.com/Decision-table-1-java-file-per-rule-optimization-tp4023620.html
>> Sent from the Drools: User forum mailing list archive at Nabble.com.
>> _______________________________________________
>> rules-users mailing list
>> [hidden email]
>> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> _______________________________________________
> rules-users mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://drools.46999.n3.nabble.com/Decision-table-1-java-file-per-rule-optimization-tp4023620p4023621.html
> To unsubscribe from Decision table -1 java file per rule - optimization,
> click here.
> NAML




--
View this message in context: http://drools.46999.n3.nabble.com/Decision-table-1-java-file-per-rule-optimization-tp4023620p4023623.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130501/463c44c5/attachment.html 


More information about the rules-users mailing list