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-tp4026825...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users