That doesn't look so bad. How many Requirements, Employees and Assignments do you have?
On 20-11-13 01:26, newbie wrote: > I have figured it out that this rule is the reason for the out of memory > error. Basically it counts the number of months assigned to a resource per > requirement and it should be a minimum of 3 months. > > rule "minimumMonths" > > when > $requirement : Requirement() > $employee: Employee() > $totalAssigned: Number(intValue > 0 && < 3) from accumulate( > $assignment : Assignment ( > employee!= null, > employee== $employee, > requirement == $requirement > ), count($assignment) > ) > > then > scoreHolder.addHardConstraintMatch(kcontext, 0, -1); > > end > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Java-Heap-Space-Out-of-Memory-tp4026825p4026834.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
