<!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 is constant between two loading.<BR>
And at 10000, nothing happens (processor is at 90% for the jvm) and then after some times, the jvm goes out of memory.<BR>
I will make 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 Michael Neale<BR>
Date: ven. 20/07/2007 06:21<BR>
À: Rules Users List<BR>
Objet : Re: [rules-users] Loading more than 10000 rules<BR>
<BR>
If you see the error "out of PermSpace" you can increase perm space.<BR>
<BR>
Another strategy, is to build the rules, in chunks, say 1000 at a time, take<BR>
the Package object, and *then* add it to the rulebase. That may make it<BR>
easier.<BR>
<BR>
You will need more then the default space on the heap for this I would<BR>
expect.<BR>
<BR>
On 7/20/07, Héron Nicolas <nheron@sopragroup.com> wrote:<BR>
><BR>
> Hello,<BR>
> I am using drools 3.0.6 for a retail customer.<BR>
> We have the current problem that we can not add more than 10000 rules.<BR>
> After this, the system increases its memory and runs out of memory.<BR>
> Is there a limit ?<BR>
> Thanks<BR>
> Nicolas Heron<BR>
><BR>
> _______________________________________________<BR>
> rules-users mailing list<BR>
> rules-users@lists.jboss.org<BR>
> <A HREF="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</A><BR>
><BR>
><BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>