Ubuntu 22.04 Python 3.10 Memory Surge for Solver #3857
Labels
Feature Request
Missing Feature/Wrapper
Help Needed
Modeling/Usage problem
Lang: Python
Python wrapper issue
Solver: Routing
Uses the Routing library and the original CP solver
Milestone
Version: 9.6.2534
Language: Python
Solver - Routing Solver
OS - Ubuntu 22.04
Steps to reproduce the behavior:
Before this I have created the Routing Model object
What did you expect to see
Routes getting created
What did you see instead?
Huge memory surge from 120 MB -> 1.6 GB and continuously increasing leading to restart of Docker container.
I am running the same code on Ubuntu 20.04 with Python 3.8, its working perfectly fine
Another observation is that if I add @Profile (memory_profiler) decorator to Solve function then it works fine.
Error Message below
Make sure you include information that can help us debug (full error message, model Proto).
Anything else we should know about your project / environment
Its solving the VRP problem with around 400 tasks.
If you need exact steps to reproduce, please let me know, i will try to add more details
The text was updated successfully, but these errors were encountered: