STINNER Victor <vstin...@redhat.com> added the comment:

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()).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32710>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to