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 3.11: Fix a memory leak switching to greenlets. #329

Merged
merged 1 commit into from Nov 7, 2022
Merged

Conversation

jamadden
Copy link
Contributor

@jamadden jamadden commented Nov 6, 2022

This leak was present in the original implementation of Python 3.11 support (#306)

Fixes #328 and fixes gevent/gevent#1924 ; I have run gevent's test suite locally on 3.11 with this fix without seeing any regressions. See the gevent issue, and the comments in the code, for a deeper explanation.

This leak was present in the original implementation of Python 3.11 support (#306)

Fixes #328 and fixes gevent/gevent#1924 ; I have run gevent's test suite locally on 3.11 with this fix without seeing any regressions.
@jamadden jamadden marked this pull request as ready for review November 7, 2022 11:59
@jamadden jamadden merged commit df2154d into master Nov 7, 2022
@jamadden jamadden deleted the issue328 branch November 7, 2022 12:02
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

Successfully merging this pull request may close these issues.

creating new greenlets appears to leak memory rapidly in python 3.11 / linux Memory leak with Python 3.11
1 participant