Originally posted by: anahana
Sorry to open this subject again, but I need some advice. From the previous communication you can see that I had, and still have, problems with the memory. I discovered that a lot of memory is being used when I create instances of classes for the VRP (specifically instances of RoutingModel and RoutingSolver, same as given in CP's examples). As I'm solving a lot of problem instances, I had to create instances of these classes within loops, which is consuming a lot of memory (as I noticed by tracking the env.getTotalMemoryUsage method). Is there a way to free up the memory allocated for these classes after use?
Regard,
#CPOptimizer#DecisionOptimization