[pypy-issue] [issue1683] BytesIO leaks like hell

Armin Rigo tracker at bugs.pypy.org
Thu Jan 30 11:28:12 CET 2014


Armin Rigo <armin.rigo at gmail.com> added the comment:

Bah, the leak appears to be StreamHolder from module/_io/interp_iobase.py:
running the tiny example with "gc.dump_rpy_heap()" at the end, the program ends
with one very large dictionary (likely "AutoFlusher.streams") and millions of
instances of "StreamHolder" and "weakref".

----------
nosy: +arigo
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1683>
________________________________________


More information about the pypy-issue mailing list