RE : [rules-users] Loading more than 10000 rules

2007-07-20 Thread Héron Nicolas
Title: RE : [rules-users] Loading more than 1 rules






Hello,
I have turn JVM memory up to 1GB.
In fact, what happens is that I load the rules 500 per 500.
everything goes fine and per 1000 rules, it takes 30 MB in RAM.
And time is constant between two loading.
And at 1, nothing happens (processor is at 90% for the jvm) and then after some times, the jvm goes out of memory.
I will make sample project this afternoon and send it on this list.
Thanks
Nicolas


 Message d'origine
De: [EMAIL PROTECTED] de la part de Michael Neale
Date: ven. 20/07/2007 06:21
À: Rules Users List
Objet : Re: [rules-users] Loading more than 1 rules

If you see the error out of PermSpace you can increase perm space.

Another strategy, is to build the rules, in chunks, say 1000 at a time, take
the Package object, and *then* add it to the rulebase. That may make it
easier.

You will need more then the default space on the heap for this I would
expect.

On 7/20/07, Héron Nicolas [EMAIL PROTECTED] wrote:

 Hello,
 I am using drools 3.0.6 for a retail customer.
 We have the current problem that we can not add more than 1 rules.
 After this, the system increases its memory and runs out of memory.
 Is there a limit ?
 Thanks
 Nicolas Heron

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users








___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


RE : [rules-users] Loading more than 10000 rules

2007-07-20 Thread Héron Nicolas
Title: RE : [rules-users] Loading more than 1 rules






Hello,
I have turn JVM memory up to 1GB.
In fact, what happens is that I load the rules 500 per 500.
everything goes fine and per 1000 rules, it takes 30 MB in RAM.
And time in constant between two loading.
And at 1, nothing happens (processor is at 90% for the jvm) and then after somme times, the jvm goes out of memory.
I will make sample project this afternoon and send it on this list.
Thanks
Nicolas


 Message d'origine
De: [EMAIL PROTECTED] de la part de Edson Tirelli
Date: jeu. 19/07/2007 18:26
À: Rules Users List
Objet : Re: [rules-users] Loading more than 1 rules

 Heron,

 There is no hard limit on rules, but you may need indeed to tune jvm
configuration to be able to handle such number of rules. Are you running out
of permgen? What are your memory settings?
 In your use case, must all the 1 rules be in the same rulebase? Is it
possible to partition the rules into multiple rulebases?

 []s
 Edson

2007/7/19, Héron Nicolas [EMAIL PROTECTED]:

 Hello,
 I am using drools 3.0.6 for a retail customer.
 We have the current problem that we can not add more than 1 rules.
 After this, the system increases its memory and runs out of memory.
 Is there a limit ?
 Thanks
 Nicolas Heron

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users




--
 Edson Tirelli
 Software Engineer - JBoss Rules Core Developer
 Office: +55 11 3529-6000
 Mobile: +55 11 9287-5646
 JBoss, a division of Red Hat @ www.jboss.com






___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Loading more than 10000 rules

2007-07-19 Thread Edson Tirelli

  Heron,

  There is no hard limit on rules, but you may need indeed to tune jvm
configuration to be able to handle such number of rules. Are you running out
of permgen? What are your memory settings?
  In your use case, must all the 1 rules be in the same rulebase? Is it
possible to partition the rules into multiple rulebases?

   []s
   Edson

2007/7/19, Héron Nicolas [EMAIL PROTECTED]:


 Hello,
I am using drools 3.0.6 for a retail customer.
We have the current problem that we can not add more than 1 rules.
After this, the system increases its memory and runs out of memory.
Is there a limit ?
Thanks
Nicolas Heron

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users





--
 Edson Tirelli
 Software Engineer - JBoss Rules Core Developer
 Office: +55 11 3529-6000
 Mobile: +55 11 9287-5646
 JBoss, a division of Red Hat @ www.jboss.com
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Loading more than 10000 rules

2007-07-19 Thread Michael Neale

If you see the error out of PermSpace you can increase perm space.

Another strategy, is to build the rules, in chunks, say 1000 at a time, take
the Package object, and *then* add it to the rulebase. That may make it
easier.

You will need more then the default space on the heap for this I would
expect.

On 7/20/07, Héron Nicolas [EMAIL PROTECTED] wrote:


 Hello,
I am using drools 3.0.6 for a retail customer.
We have the current problem that we can not add more than 1 rules.
After this, the system increases its memory and runs out of memory.
Is there a limit ?
Thanks
Nicolas Heron

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users