<html><head></head><body bgcolor="#FFFFFF"><div></div><div>Mark, thanks for responding. &nbsp; Do you have a recommendation as to how much I should&nbsp;</div><div>increase the perm gen space? &nbsp;</div><div>&nbsp;Also, is there anything else I can do to run my decision tables more efficiently?</div><div><br></div><div>Jan</div><div><br></div><div><br><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;">try increasing your perm gen space.</span></font></pre><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;">&nbsp;Mark
On 16 Aug 2014, at 04:11, Jan Rose &lt;<a href="https://lists.jboss.org/mailman/listinfo/rules-users">ufos at comcast.net</a></span></font><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;">&gt; wrote:

&gt;<i>&nbsp;</i></span></font></pre><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;"><i>Would like some advice regarding using Decision Tables in DROOLS 5.6.0 Final.&nbsp;</i></span></font></pre><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;"><i>&nbsp;We have decision tables with over 12,000 rows.&nbsp;</i></span></font></pre><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;"><i>&nbsp;It is a basic ‘look-up’ table with 3 conditions and 2 actions.&nbsp;</i></span></font></pre><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;"><i>&nbsp;The conditions are, for example:   Company = X Dept = X   Class = X then value = X and log X.</i></span></font></pre><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;"><i>&nbsp;When I reduced the number of rows to approx. 500 . .. it works.
</i>&gt;<i> I have set the max memory in the JVM to 2 gigs.&nbsp;</i></span></font></pre><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;"><i>&nbsp;We have tried compiling the decision tables using the spreadsheet compiler as well as the decision table compiler.
</i></span></font><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;">&gt;<i>&nbsp;</i></span></font></pre><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;"><i>Below is the error when using the decision table compiler.&nbsp;</i></span></font></pre><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;"><i>&nbsp;However, we get the same PermGen space error with the spreadsheet compiler.
</i>&gt;<i>  
</i></span></font><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;">&gt;<i>&nbsp;</i></span></font></pre><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;"><i>Obviously, we need to be able to have more than 500 rows in our decision table(s).    Any advice would be appreciated.&nbsp;</i>&gt;<i>  
</i>&gt;<i>&nbsp;</i></span></font></pre><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;"><i>Aug 14, 2014 6:33:09 PM com.macys.test.rules.engine.AttribDecisionTbl main 
</i>&gt;<i> INFO: found file:c:\attribute-data.xls 
</i>&gt;<i> Aug 14, 2014 6:33:10 PM com.macys.test.test_drools.RuleRunner loadRules 
</i>&gt;<i> INFO: Loading file: log-rules.drl 
</i>&gt;<i> Aug 14, 2014 6:33:10 PM com.macys.test.test_drools.RuleRunner loadRuleFile 
</i>&gt;<i> INFO: found rule file:log-rules.drl 
</i>&gt;<i> Aug 14, 2014 6:33:11 PM com.macys.test.test_drools.RuleRunner loadRules 
</i>&gt;<i> INFO: Loading file: AttributeRules-MDSLife-V1.xls 
</i>&gt;<i> Aug 14, 2014 6:33:11 PM com.macys.test.test_drools.RuleRunner loadExcelRules 
</i>&gt;<i> INFO: found file:AttributeRules-MDSLife-V1.xls 
</i>&gt;<i> Exception in thread "main" java.lang.OutOfMemoryError: PermGen space 
</i>&gt;<i>         at java.lang.ClassLoader.defineClass1(Native Method) 
</i>&gt;<i>         at java.lang.ClassLoader.defineClass(ClassLoader.java:800) 
</i>&gt;<i>         at org.drools.rule.JavaDialectRuntimeData$PackageClassLoader.fastFindClass(JavaDialectRuntimeData.java:624) 
</i>&gt;<i>         at org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader.java:254) 
</i>&gt;<i>         at org.drools.util.CompositeClassLoader$CachingLoader.load(CompositeClassLoader.java:237) 
</i>&gt;<i>         at org.drools.util.CompositeClassLoader.loadClass(CompositeClassLoader.java:88) 
</i>&gt;<i>         at java.lang.ClassLoader.loadClass(ClassLoader.java:358) 
</i>&gt;<i>         at org.drools.rule.JavaDialectRuntimeData.wire(JavaDialectRuntimeData.java:434) 
</i>&gt;<i>         at org.drools.rule.JavaDialectRuntimeData.wire(JavaDialectRuntimeData.java:429) 
</i>&gt;<i>         at org.drools.rule.JavaDialectRuntimeData.onBeforeExecute(JavaDialectRuntimeData.java:257) 
</i>&gt;<i>         at org.drools.rule.DialectRuntimeRegistry.onBeforeExecute(DialectRuntimeRegistry.java:139) 
</i>&gt;<i>         at org.drools.compiler.PackageBuilder.reloadAll(PackageBuilder.java:1202) 
</i>&gt;<i>         at org.drools.compiler.PackageBuilder.compileAllRules(PackageBuilder.java:951) 
</i>&gt;<i>         at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:938) 
</i>&gt;<i>         at org.drools.compiler.PackageBuilder.addPackageFromDecisionTable(PackageBuilder.java:451) 
</i>&gt;<i>         at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:715) 
</i>&gt;<i>         at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:51) 
</i>&gt;<i>         at com.macys.test.test_drools.RuleRunner.loadExcelRules(RuleRunner.java:161) 
</i>&gt;<i>         at com.macys.test.test_drools.RuleRunner.loadRules(RuleRunner.java:53) 
</i>&gt;<i>         at com.macys.test.test_drools.RuleRunner.runStatelessRules(RuleRunner.java:217) 
</i>&gt;<i>         at com.macys.test.rules.engine.AttribDecisionTbl.main(AttribDecisionTbl.java:99) 
</i>&gt;<i> 
</i>&gt;<i> 
</i>&gt;<i> _______________________________________________
</i>&gt;<i> rules-users mailing list
</i>&gt;<i> <a href="https://lists.jboss.org/mailman/listinfo/rules-users">rules-users at lists.jboss.org</a>
</i>&gt;<i> <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</i>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a href="http://lists.jboss.org/pipermail/rules-users/attachments/20140816/e86011b7/attachment-0001.html">http://lists.jboss.org/pipermail/rules-users/attachments/20140816/e86011b7/attachment-0001.html</a> </span></font></pre><pre></pre><pre></pre><pre></pre><pre></pre><pre></pre><pre><font class="Apple-style-span" face="Times" size="3"><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469);">
</span></font></pre><div style="font-family: Times; font-size: medium; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><br></div>Sent from my iPad</div></body></html>