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.

classification
Title: memory leak with self-referencing dict
Type: resource usage Stage:
Components: Interpreter Core Versions: Python 3.2
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: Albert.Zeyer
Priority: normal Keywords:

Created on 2011-06-10 09:21 by Albert.Zeyer, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
py_dict_refcount_test.py Albert.Zeyer, 2011-06-10 09:21 test script
Messages (2)
msg138062 - (view) Author: Albert Zeyer (Albert.Zeyer) * Date: 2011-06-10 09:21
The attached Python script leaks memory. It is clear that there is a reference circle (`__dict__` references `self`) but `gc.collect()` should find this.
msg138063 - (view) Author: Albert Zeyer (Albert.Zeyer) * Date: 2011-06-10 09:26
Whoops, looks like a duplicate of #1469629.
History
Date User Action Args
2022-04-11 14:57:18adminsetgithub: 56520
2011-06-10 09:26:33Albert.Zeyersetstatus: open -> closed
resolution: duplicate
messages: + msg138063
2011-06-10 09:21:26Albert.Zeyercreate