[issue2206] critical memory leak in hashlib.md5
Benjamin Peterson
report at bugs.python.org
Fri Feb 29 03:54:36 CET 2008
Benjamin Peterson added the comment:
This is not a hashlib problem (or a bug at all.) range returns an list
of 99990000 numbers. The allocation of this list is the part taking up
all the memory. Try replacing range with xrange.
----------
nosy: +benjamin.peterson
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2206>
__________________________________
More information about the Python-bugs-list
mailing list