[rules-users] drools performance : max limit on # of facts for each execution

Greg Barton greg_barton at yahoo.com
Tue Nov 18 11:45:25 EST 2008


Heap size is the only limit.  There are no other limits, AFAIK.

--- On Tue, 11/18/08, techy <techluver007 at gmail.com> wrote:

> From: techy <techluver007 at gmail.com>
> Subject: Re: [rules-users] drools performance : max limit on # of facts for each execution
> To: rules-users at lists.jboss.org
> Date: Tuesday, November 18, 2008, 10:15 AM
> I take back.. I noticed that it happened while I was doing
> memory profiling.
> for normal execution, it works fine..
> 
> Is there any limit on # of facts to be inserted into
> stateless session?  or
> does it depend only on heap size?
> thanks.
> 
> 
> techy wrote:
> > 
> > If I have set of rules(say 5 rules for now.. which
> just compares few
> > fields in facts and increments execution count on Rule
> Object as a
> > consequence) working on single fact and I have huge
> amount of data to
> > process,
> > How many maximum facts can I insert into stateless
> session at a time for
> > faster execution of rules for each execution?
> > 
> > I inserted to 50,000 facts into stateless
> session(desktop runs in win XP,
> > and assigned 500MB head size to the java process) and
> with drools debug
> > enabled, I noticed that insertion itself takes(>10
> secs) considerable
> > time.
> > 
> > I would like to know best practices in such
> situations. appreciate your
> > help.
> > 
> > Thanks!
> > 
> 
> -- 
> View this message in context:
> http://www.nabble.com/drools-performance-%3A-max-limit-on---of-facts-for-each-execution-tp20562112p20562748.html
> Sent from the drools - user mailing list archive at
> Nabble.com.
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


      



More information about the rules-users mailing list