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

[python] Fix memory leak due to circular references #679

Closed
duburcqa opened this issue Dec 19, 2023 · 0 comments · Fixed by #683
Closed

[python] Fix memory leak due to circular references #679

duburcqa opened this issue Dec 19, 2023 · 0 comments · Fixed by #683
Labels
bug Something isn't working P0 Highest priority issue python

Comments

@duburcqa
Copy link
Owner

atexit.register is causing memory leak. Either use weakref or call unregister in the method that has been registered so that calling it manually break the circle. It happens at several places including here

@duburcqa duburcqa added bug Something isn't working python P0 Highest priority issue labels Dec 19, 2023
@duburcqa duburcqa changed the title Fix memory leak due to circular references [python] Fix memory leak due to circular references Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P0 Highest priority issue python
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant