[rules-users] Analysing OutOfMemory, too many RightTuple

Wolfgang Laun wolfgang.laun at gmail.com
Wed Jun 11 10:21:36 EDT 2014


Most of the time, a look on a (representative) sample of the rules is
enough for some watchers of this list to drop a few pointers.

There are some Best Practices, but people tend to come up with new
counter-examples ;-)

-W


On 11/06/2014, bvoisin <benoit.voisin at igc-erp.com> wrote:
> Hi all,
>
> With my set of rules and data, I get OutOfMemory issues. It works fine with
> smaller sets of Data.
>
> Looking with a HeapDump analyzer, I found that there was thousands of
> RightTuples. In a previous run, before some rules fixes, I also add tons of
> JoinNodeLeftTuple's.
> They seem to come from poorly written rules; unfortunately, I find it quite
> difficult to find and correct the conditions/rules causing these tons of
> RightTuple.
>
> Is there any analysis option/tool that can give information on the Left Hand
> Side (tuples and sinks), or is there any BestPractices on how to correct the
> rules to limit this behavior?
>
> I use Drools 6.1.0.Beta4, with Phreak enabled, but had similary issues with
> 6.0.0 or 6.0.1
>
> Regards,
> Benoît
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Analysing-OutOfMemory-too-many-RightTuple-tp4029988.html
> Sent from the Drools: User forum 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