Possible memory leak when calling solver.run multiple times #385
Unanswered
alucantonio
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to solve a problem where solver.run is called multiple times to minimize a series of functions while varying a parameter. Using memory_profiler I can see that the allocated memory increases each time the function solver.run is called and never decreases.
Here is a minimal example to reproduce the issue:
And here is the corresponding plot of the allocated memory:
Can you please confirm the issue or provide a solution for that? Thanks. Alessandro
Beta Was this translation helpful? Give feedback.
All reactions