[issue32045] Does json.dumps have a memory leak?
Rohan D'Sa
report at bugs.python.org
Fri Nov 17 02:51:08 EST 2017
Rohan D'Sa <roh4n.ds4 at gmail.com> added the comment:
you are right. i realized later i actually had a leak in a com instantiated object, assumed it was a leak in the python and tried to find it using the gc module.
The gc documentation led me down the garden path.
QUOTE
gc.garbage
A list of objects which the collector found to be unreachable but could not be freed (uncollectable objects).
UNQUOTE
i assumed:
- cyclic references are unreachable but can be freed and hence collectable.
- __del__ finalizer (with cyclic references?) objects are unreachable and cannot be freed and hence uncollectable.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32045>
_______________________________________
More information about the Python-bugs-list
mailing list