[issue11849] glibc allocator doesn't release all free()ed memory

Tim Peters report at bugs.python.org
Sat Nov 9 05:54:22 CET 2013


Tim Peters added the comment:

[@haypo]
> http://python.dzone.com/articles/diagnosing-memory-leaks-python
> Great job! Using mmap() for arenas is the best solution for this issue.

?  I read the article, and they stopped when they found "there seemed to be a ton of tiny little objects around, like integers.".  Ints aren't allocated from arenas to begin wtih - they have their own (immortal & unbounded) free list in Python2.  No change to pymalloc could make any difference to that.

----------
nosy: +tim.peters

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


More information about the Python-bugs-list mailing list