[issue14596] struct.unpack memory leak

Serhiy Storchaka report at bugs.python.org
Mon Apr 16 14:56:22 CEST 2012


Serhiy Storchaka <storchaka at gmail.com> added the comment:

Yes, the problem is the place to be in Python 2.7, in Python 3.2 and in Python 3.3. Random size of the structure is important -- if you remove the randint, leakage will not.

The memory is not released in cached structuress, which are created in module-level unpack.

I now deal with it.

----------
nosy: +storchaka

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


More information about the Python-bugs-list mailing list