How can it need 2Gb of memory?
Drools Planner has 2 solution instances: the bestSolution and the
workingSolution.
If you use solutionTabu of for example a 1000, it has a 1000 solution
tabu's too. Your options:
1) Better cloning. See Examination: only the examlist is deep cloned,
the periodlist, roomlist etc aren't even cloned.
2) Less solutionTabu, use the benchmarker. You're probably better off
with a solutionTabu of for example 500 and moveTabu of 7.
With kind regards,
Geoffrey De Smet
Samuel Deballon schreef:
yes, but I have not yet implemented all the rules.
Moreover, I have simplified some constraints such as chaining touring
without rest day.
I tested my solution with a department of 10 employees on a full year.
I'd like to increase the number of employed, but even with 2Gb of memory
allocated, I have a java.lang.OutOfMemoryError: Java heap space
I have not yet found the solution for scoreDetailList
Thanks for your help
Samuel