[rules-users] compiled package too big

Ševčík Martin MaSevcik at cpoj.cz
Fri Sep 25 06:35:01 EDT 2009


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 there any chance to make the package smaller.  It's always the same rule, just different values of attributes (that's why we use excel) and I think, after compilation there are many information redundant in the package (they are repeating over and over for every row / rule. 

 

Do you have any solution how to solve this. It's a tariffication algorithm, and the response must be quick. Executing is not a problem, just how to store this big package. 

 

Thank you

 

Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090925/e3731707/attachment.html 


More information about the rules-users mailing list