[issue12311] memory leak with self-referencing dict

Albert Zeyer report at bugs.python.org
Fri Jun 10 11:21:27 CEST 2011


New submission from Albert Zeyer <albzey at googlemail.com>:

The attached Python script leaks memory. It is clear that there is a reference circle (`__dict__` references `self`) but `gc.collect()` should find this.

----------
components: Interpreter Core
files: py_dict_refcount_test.py
messages: 138062
nosy: Albert.Zeyer
priority: normal
severity: normal
status: open
title: memory leak with self-referencing dict
type: resource usage
versions: Python 3.2
Added file: http://bugs.python.org/file22311/py_dict_refcount_test.py

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


More information about the Python-bugs-list mailing list