-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
copy_stream leaks memory (when compressing) #40
Comments
When can we expect the fix (i.e. v0.8.2) to be released into pypi? Thanks! |
indygreg
added a commit
that referenced
this issue
Mar 17, 2018
The PyObject holding the result of the read() operation never had its refcount decreased. This created a leak. Fixes #40.
indygreg
added a commit
that referenced
this issue
Mar 17, 2018
The PyObject holding the result of the read() operation never had its refcount decreased. This created a leak. Fixes #40.
0.8.2 was just released to PyPI. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Same as https://github.com/indygreg/python-zstandard/issues/35
copy_steam leaks also on compression
copy_stream leaks a lot of memory when compressing.
The amount leaked seems to be proportional to the size of the input stream
changing
1024*1024
to1024
leaks less memoryoutput:
0 12952
100 116052
200 219148
300 322460
400 425780
500 529092
600 632404
700 735716
800 839036
900 942348
1000 1045660
The text was updated successfully, but these errors were encountered: