This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients asvetlov, giampaolo.rodola, vstinner, yselivanov
Date 2019-01-08.13:12:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546953167.19.0.141507424105.issue32710@roundup.psfhosted.org>
In-reply-to
Content
It took me 1 year, a few sleepless nights, multiple attempts to understand the leak, but I eventually found it! WSASend() doesn't release the memory if it fails immediately. I wrote PR 11469 to fix the memory leak. ReadFile() has the same bug, I also fixed it.

By the way, the _overlapped.Overlapped type has no traverse function: it may help the garbage collector to add once, since asyncio is famous for building reference cycles by design (Future.set_exception()).
History
Date User Action Args
2019-01-08 13:12:49vstinnersetrecipients: + vstinner, giampaolo.rodola, asvetlov, yselivanov
2019-01-08 13:12:47vstinnersetmessageid: <1546953167.19.0.141507424105.issue32710@roundup.psfhosted.org>
2019-01-08 13:12:47vstinnerlinkissue32710 messages
2019-01-08 13:12:47vstinnercreate