Skip to content
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

pardisoSolver leaks memory #12

Open
c-f-h opened this issue Mar 4, 2018 · 1 comment
Open

pardisoSolver leaks memory #12

c-f-h opened this issue Mar 4, 2018 · 1 comment

Comments

@c-f-h
Copy link

c-f-h commented Mar 4, 2018

Repeatedly constructing and initializing instances of pardisoSolver leaks memory as the internal data is never freed.

I noticed that the class has a clear method, but it isn't automatically invoked. Perhaps it could be called in the __del__ method of the class? One would have to make sure that multiple calls to clear are safe.

@dwfmarchant
Copy link
Owner

Thanks for the report. Do you have a small example that replicates the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants