We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
memoryview iterator leaks memory at exit as it is not finalized.
memoryview
Reproducer:
print(type(iter(memoryview(b'abc'))).mro())
Memory leak:
@kumaraditya303 ➜ /workspaces/cpython (main ✗) $ ./python -X showrefcount main.py [<class 'memory_iterator'>, <class 'object'>] [123 refs, 47 blocks]
The text was updated successfully, but these errors were encountered:
pythonGH-92804: Fix memory leak in memoryview iterator (pythongh-92805)
e12b0b5
(cherry picked from commit d923fdf) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
GH-92804: Fix memory leak in memoryview iterator (gh-92805)
d923fdf
$> ./python.exe -X showrefcount gh-92804.py [<class 'memory_iterator'>, <class 'object'>] [0 refs, 0 blocks]
Now the issue is fixed, Thanks @kumaraditya303
Sorry, something went wrong.
d9089c0
kumaraditya303
Successfully merging a pull request may close this issue.
memoryview
iterator leaks memory at exit as it is not finalized.Reproducer:
Memory leak:
The text was updated successfully, but these errors were encountered: