<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE : [rules-users] Loading more than 10000 rules</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hello,<BR>
I have turn JVM memory up to 1GB.<BR>
In fact, what happens is that I load the rules 500 per 500.<BR>
everything goes fine and per 1000 rules, it takes 30 MB in RAM.<BR>
And time in constant between two loading.<BR>
And at 10000, nothing happens (processor is at 90% for the jvm) and then after somme times, the jvm goes out of memory.<BR>
I will make&nbsp; sample project this afternoon and send it on this list.<BR>
Thanks<BR>
Nicolas<BR>
<BR>
<BR>
-------- Message d'origine--------<BR>
De: rules-users-bounces@lists.jboss.org de la part de Edson Tirelli<BR>
Date: jeu. 19/07/2007 18:26<BR>
À: Rules Users List<BR>
Objet : Re: [rules-users] Loading more than 10000 rules<BR>
<BR>
&nbsp;&nbsp; Heron,<BR>
<BR>
&nbsp;&nbsp; There is no hard limit on rules, but you may need indeed to tune jvm<BR>
configuration to be able to handle such number of rules. Are you running out<BR>
of permgen? What are your memory settings?<BR>
&nbsp;&nbsp; In your use case, must all the 10000 rules be in the same rulebase? Is it<BR>
possible to partition the rules into multiple rulebases?<BR>
<BR>
&nbsp;&nbsp;&nbsp; []s<BR>
&nbsp;&nbsp;&nbsp; Edson<BR>
<BR>
2007/7/19, Héron Nicolas &lt;nheron@sopragroup.com&gt;:<BR>
&gt;<BR>
&gt;&nbsp; Hello,<BR>
&gt; I am using drools 3.0.6 for a retail customer.<BR>
&gt; We have the current problem that we can not add more than 10000 rules.<BR>
&gt; After this, the system increases its memory and runs out of memory.<BR>
&gt; Is there a limit ?<BR>
&gt; Thanks<BR>
&gt; Nicolas Heron<BR>
&gt;<BR>
&gt; _______________________________________________<BR>
&gt; rules-users mailing list<BR>
&gt; rules-users@lists.jboss.org<BR>
&gt; <A HREF="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</A><BR>
&gt;<BR>
&gt;<BR>
<BR>
<BR>
--<BR>
&nbsp; Edson Tirelli<BR>
&nbsp; Software Engineer - JBoss Rules Core Developer<BR>
&nbsp; Office: +55 11 3529-6000<BR>
&nbsp; Mobile: +55 11 9287-5646<BR>
&nbsp; JBoss, a division of Red Hat @ www.jboss.com<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>