<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi,<br><br>Thanks for the replies. I'm actually working with a big number of large rule sets (ranging from 100 rules to up to 3000), which are generated based on another proprietary language. These are not used system wide, but on a user per user basis and loaded dynamically<br><br>In itself, the system handles itself well, as compiled packages are persisted on disk and loaded only when a user requires it. Thing is, the memory footprint (and the size of the persisted packages) has increased significantly when migrating from 4.0.7 to 5.4.0.Final (20% to 30% for the large ones) and I am trying to find ways of trimming this down as much as I can. <br><br>Going from a package name of 12 characters to 1 actually and rule names to 3-4 characters shaved off 5-10% in most cases, so not so trivial :-)<br><br>Unfortunately, reducing the number of rules is not a option in my case, so any advice (or explanation on the increase) is most welcome<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Thu, 13 Sep 2012 01:42:47 -0700<br>> From: dsotty@gmail.com<br>> To: rules-users@lists.jboss.org<br>> Subject: Re: [rules-users] Package footprint<br>> <br>> I agree with Wolfgang... can you give us an idea of the rules you are working<br>> with?<br>> Actually:<br>> - using shorter names might be a last-resort, unless you were using really<br>> long names in the first place<br>> - do not use redundant code is a good practice anyway!<br>> - agreed, evals are evils :)<br>> - changing the DialectConfigurations is absolutely dangerous, do that at<br>> your own risk :)<br>> <br>> <br>> <br>> --<br>> View this message in context: http://drools.46999.n3.nabble.com/Package-footprint-tp4019721p4019735.html<br>> Sent from the Drools: User forum mailing list archive at Nabble.com.<br>> _______________________________________________<br>> rules-users mailing list<br>> rules-users@lists.jboss.org<br>> https://lists.jboss.org/mailman/listinfo/rules-users<br></div>                                            </div></body>
</html>