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)
at
org.drools.core.phreak.PhreakAccumulateNode.doNode(PhreakAccumulateNode.java:81)
at
org.drools.core.phreak.RuleNetworkEvaluator.switchOnDoBetaNode(RuleNetworkEvaluator.java:562)
at
org.drools.core.phreak.RuleNetworkEvaluator.evalBetaNode(RuleNetworkEvaluator.java:533)
at
org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:335)
at
org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:162)
at
org.drools.core.phreak.RuleNetworkEvaluator.evaluateNetwork(RuleNetworkEvaluator.java:117)
at
org.drools.core.phreak.RuleExecutor.reEvaluateNetwork(RuleExecutor.java:199)
at
org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:66)
at
org.drools.core.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:927)
at
org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1187)
at
org.drools.core.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:957)
at
org.drools.core.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:931)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:233)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.calculateScore(DroolsScoreDirector.java:98)
at
org.optaplanner.core.impl.solver.scope.DefaultSolverScope.calculateScore(DefaultSolverScope.java:101)
at
org.optaplanner.core.impl.bestsolution.BestSolutionRecaller.solvingStarted(BestSolutionRecaller.java:58)
at
org.optaplanner.core.impl.solver.DefaultSolver.solvingStarted(DefaultSolver.java:177)
at
org.optaplanner.core.impl.solver.DefaultSolver.solve(DefaultSolver.java:154)
I am not using custom movelistfactory. I am using drools score calculation.
Using visualvm I get this output. Thanks.
test.png <
http://drools.46999.n3.nabble.com/file/n4026831/test.png>
--
View this message in context:
http://drools.46999.n3.nabble.com/Java-Heap-Space-Out-of-Memory-tp4026825...
Sent from the Drools: User forum mailing list archive at
Nabble.com.