Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak in Python #1363

Closed
00031 opened this issue Jun 19, 2019 · 3 comments
Closed

Memory leak in Python #1363

00031 opened this issue Jun 19, 2019 · 3 comments
Assignees
Labels
Bug Help Needed Modeling/Usage problem Lang: Python Python wrapper issue Solver: Routing Uses the Routing library and the original CP solver
Milestone

Comments

@00031
Copy link

00031 commented Jun 19, 2019

Observed memory usage increased using Routing Solver in Python 3.7.2
With log_search = True:

Get an assignment for the first time:

  • End search (time = 1 ms, branches = 483, failures = 259, memory used = 206.63 MB, speed = 483000 branches/s)

Calling SolveWithParameters again to get a new assignment:

  • Start search (memory used = 207.35 MB)

And the memory goes higher every time after yielding an assignment.

@lperron lperron added Bug Help Needed Modeling/Usage problem Lang: Python Python wrapper issue Solver: Routing Uses the Routing library and the original CP solver labels Jun 19, 2019
@10kc-zack
Copy link

Has there been any confirmation that this is in fact a memory leak in the Python implementation of OR-Tools? I'm hoping to use OR-Tools in a project, but won't be using Python if it has a memory leak

@shahrozecafu
Copy link

Im facing the same issue. Is there any update on this?

@Mizux Mizux added this to the v8.3 milestone Feb 12, 2021
@Mizux Mizux self-assigned this Feb 12, 2021
@Mizux Mizux modified the milestones: v9.0, v9.1 Mar 22, 2021
@Mizux Mizux modified the milestones: v9.1, Backlog Aug 9, 2021
@bijun1
Copy link

bijun1 commented Nov 26, 2021

same problem, any progress on this issure?

@google google locked and limited conversation to collaborators Dec 7, 2021
@lperron lperron converted this issue into discussion #2967 Dec 7, 2021
@Mizux Mizux modified the milestones: Backlog, v9.4 May 2, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Bug Help Needed Modeling/Usage problem Lang: Python Python wrapper issue Solver: Routing Uses the Routing library and the original CP solver
Projects
None yet
Development

No branches or pull requests

6 participants