<br> Barry,<br><br> First of all, aside from permgen issues, if I remember correctly, we fixed a pretty serious memory leak bug around August/September of last year. So, I strongly advise you to upgrade to Drools 4.0.7, that is about to be released.<br>
<br> Regarding permgen, the best way to save space on it is to (assuming you are using 4.0.7), share your rulebases as much as possible. Each rulebase you create consumes a bit of the permgen space. More rulebases means more space consumed.<br>
<br> Hope it helps.<br><br> []s<br> Edson<br><br><br><div class="gmail_quote">2008/5/2 Barry K <<a href="mailto:barry.knapp@railinc.com">barry.knapp@railinc.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hello,<br>
<br>
Has anyone had to resolve out of memory errors with large applications using<br>
moderatly sized rulebases?<br>
Increasing the permGen any higher does not appear to be an option for us.<br>
<br>
DROOLS Version 4.01<br>
<br>
OutOfMemory Error in PermGen space. Our application has ~5000 classes and<br>
uses ~3500 rules.<br>
Each rules has on average 3 conditions and 2 actions.<br>
<br>
The application uses multiple drools rules engines and we load multiple<br>
rulebases into memory.<br>
Would we have a small memory footprint if we combine all of our rules into a<br>
single rulebase and use agenda filtration to execute the appropriate rules?<br>
Right now it is cleaner for us to separate the rulebases.<br>
<br>
Current settings-<br>
WAS 6.1 on Solaris<br>
Max Heap 2560<br>
Max PermGen 1024<br>
<br>
WAS 6.1 throws startup errors if we increase the Max PermGen above 1024, so<br>
we are looking for alternative solutions.<br>
This seems like a lot of memory for permGen anyway.<br>
<br>
<br>
Asides:<br>
We do not use WorkingMemoryFileLogger<br>
We have tried using a newer Janino jar but we still encounter the<br>
OutOfMemoryError.<br>
<br>
<br>
When we have the rules engine running it is extremely fast and we are very<br>
pleased with being able to create our rules in Decision Table format. If<br>
you have any suggestions for the above issue that would be great.<br>
<br>
What would you estimate the permGen usage would be on a 3500 rule RuleBase<br>
alone?<br>
<font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/OutOfMemory-Error---3500-Rules-tp17019001p17019001.html" target="_blank">http://www.nabble.com/OutOfMemory-Error---3500-Rules-tp17019001p17019001.html</a><br>
Sent from the drools - user mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>