[issue15635] memory leak with generators

Florent Xicluna report at bugs.python.org
Mon Aug 13 14:07:10 CEST 2012


Florent Xicluna added the comment:

Though, I cannot reproduce on Debian Squeeze (2.6.6 deb or 2.7 from source) or Ubuntu (2.7.2+ or 3.2).

Someone on OS X might confirm the same issue.
This is python 2.7.3 installed from source (using perlbrew) and GCC 4.2.1.


The output of the script is:

$ python testiterbug.py
2.7.3 (default, May 20 2012, 19:54:58)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]

[row for row in iterit(16777216)]
Memory usage:   9.3 MB

[row for row in iterit(8388608)]
Memory usage: 266.6 MB

----------
nosy: +hynek, ned.deily, ronaldoussoren

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


More information about the Python-bugs-list mailing list