[issue11803] Memory leak in sub-interpreters

Amaury Forgeot d'Arc report at bugs.python.org
Fri Apr 8 14:17:57 CEST 2011


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Most builtin modules keep static references to common objects: exceptions, types, &co.  These references are currently never freed, but are reused by all sub-interpreters.
It the memory usage stays stable, even after many calls to Py_NewInterpreter()/Py_EndInterpreter(), this is not a bug!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11803>
_______________________________________


More information about the Python-bugs-list mailing list