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

🐽 Fix memory leak in chunked streams handling code (#3631) (BACKPORT) #3668

Merged
merged 1 commit into from
Mar 29, 2019

Conversation

socketpair
Copy link
Contributor

No description provided.

@socketpair
Copy link
Contributor Author

@asvetlov @kxepal @webknjaz Automatic checking has failed not by my changes. Please review/merge.

@kxepal
Copy link
Member

kxepal commented Mar 27, 2019

cc @webknjaz
Seems like some build issues (cython missing). Do you have right solution for this?

@socketpair socketpair merged commit 61825e7 into 3.5 Mar 29, 2019
@socketpair socketpair deleted the leak branch March 29, 2019 20:26
@webknjaz
Copy link
Member

@kxepal it's still in progress. I've postponed its resolution for a while since I didn't have time for it but it's still on my radar. cc #3581.

objs = [obj]
# Memory leak may be caused by leaked links to same objects.
# Without link counting, [1,2,3] is indistiguishable from [1,2,3,3,3,3,3,3]
known = defaultdict(int)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@socketpair FYI there's collections.Counter existing exactly for this use-case :)

@webknjaz
Copy link
Member

@kxepal JFYI you can go to Travis CI build page and restart individual test jobs manually even if the linting stage is failed.

@lock lock bot added the outdated label Apr 2, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Apr 2, 2020
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bot:chronographer:provided There is a change note present in this PR outdated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants