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

Memory leaks #64

Closed
xoolive opened this issue Jan 22, 2020 · 0 comments · Fixed by #67
Closed

Memory leaks #64

xoolive opened this issue Jan 22, 2020 · 0 comments · Fixed by #67
Assignees
Labels
bug Something isn't working

Comments

@xoolive
Copy link
Owner

xoolive commented Jan 22, 2020

It seems that memory is leaking.
When several big data files are handled in chain, memory seems to never be completely freed. I suspect @lru_cache decorators on methods to be responsible for that as they seem to store results and instances at the class level.

This could be a starting point to investigate:
https://stackoverflow.com/a/33672499/1595335

See also: https://github.com/youknowone/methodtools/ where you just need to update:

from methodtools import lru_cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant