[issue14596] struct.unpack memory leak
Antoine Pitrou
report at bugs.python.org
Mon Apr 16 14:51:29 CEST 2012
Antoine Pitrou <pitrou at free.fr> added the comment:
> I suspect that this is due to the struct module cache, which caches
> Struct instances corresponding to formats used. If that's true,
> there's no real leak as such.
Well, the posted code creates 30 struct instances. That shouldn't exhaust the memory of a 8GB box (which it does here)...
----------
nosy: +pitrou
type: -> resource usage
versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6, Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14596>
_______________________________________
More information about the Python-bugs-list
mailing list