[rules-users] Java Heap Space Out of Memory in Drools

Geoffrey De Smet ge0ffrey.spam at gmail.com
Tue Nov 19 07:48:51 EST 2013


On 19-11-13 12:04, newbie wrote:
> Here's the stacktrace:
>
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
> 	at
> org.drools.core.base.accumulators.JavaAccumulatorFunctionExecutor.createContext(JavaAccumulatorFunctionExecutor.java:81)
> 	at org.drools.core.rule.Accumulate.createContext(Accumulate.java:126)
> 	at
> org.drools.core.phreak.PhreakAccumulateNode.doLeftInserts(PhreakAccumulateNode.java:145)
> ...
>
> Using visualvm I get this output. Thanks.
>
> test.png <http://drools.46999.n3.nabble.com/file/n4026831/test.png>
It clearly at least one of your score rules in Drools that apparently 
takes the grand majority of your memory (FromNodeLeftTuptle).
First identify the problematic score rules:
   For each of your score rules, comment out that 1 score rule, let 
planner run and check VisualVM.

Then report the problematic score rules here.

>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/Java-Heap-Space-Out-of-Memory-tp4026825p4026831.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