Open poirot-19 opened 1 year ago
Not sure it has anything to do with the routing library. Seems like a gc/memory allocation problem in the docker library.
@lperron same thing is happening when running on GCP Ubuntu VM 22.04 and Python 3.10. When the same application code runs on Ubuntu 20.04 and Python 3.8, it works perfectly fine. Do you think Solver has some issues on Ubuntu 22.04
No. This is the same code.
Le sam. 15 juil. 2023, 23:55, abhinav-94 @.***> a écrit :
@lperron https://github.com/lperron same thing is happening when running on GCP Ubuntu VM 22.04 and Python 3.10. When the same application code runs on Ubuntu 20.04 and Python 3.8, it works perfectly fine. Do you think Solver has some issues on Ubuntu 22.04
— Reply to this email directly, view it on GitHub https://github.com/google/or-tools/issues/3857#issuecomment-1636999215, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUPL3MKK5L4Z4U6PFXXLCLXQOF5FANCNFSM6AAAAAA2LQDDYE . You are receiving this because you were mentioned.Message ID: @.***>
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