Message199866
Python uses an allocator called "pymalloc". For allocations smaller
than 512 bytes, it uses arenas of 256 KB. If you allocate many small
objects and later release most of them (but not all!), the memory is
fragmented. For allocations larger than 512 bytes, Python falls back
to malloc/free.
It was discussed to replace pymalloc with Windows Low Fragmented Heap allocator. |
|
Date |
User |
Action |
Args |
2013-10-14 11:12:37 | vstinner | set | recipients:
+ vstinner, tim.peters, pitrou, tim.golden, r.david.murray, brian.curtin, Esa.Peuha, Пётр.Дёмин |
2013-10-14 11:12:37 | vstinner | link | issue19246 messages |
2013-10-14 11:12:37 | vstinner | create | |
|