Re: [rules-users] compiled package too big

2009-09-25 Thread Wolfgang Laun
One proposal: Don't put the values to which you compare the attributes into rules; put them into additional facts. Consider: rule "bounds_a_1_10" when Fact( a >= 1 && <= 10 ) then ... end and similar for 11:100, 101:1000,... could be handled by a single rule and a set of Limit-type facts: ru

[rules-users] compiled package too big

2009-09-25 Thread Ševčík Martin
Hello, I'm using drools 4.0.7. I have excel with about 4000 rows. After compiling it, the final Package is about 30 MB. And that's only one sheet, I have 3 of them. Total size is about 60MB. It's too big to hold it in memory, but too slow to read it from a file or database every time. Is the