Re: [Python-Dev] The untuned tunable parameter ARENA_SIZE

2017-06-01 Thread Siddhesh Poyarekar
On Thursday 01 June 2017 01:27 PM, Victor Stinner wrote: > The GNU libc malloc uses a variable threshold to choose between sbrk() > (heap memory) or mmap(). It starts at 128 kB or 256 kB, and then is > adapted depending on the workload (I don't know how exactly). The threshold starts at 128K and i

Re: [Python-Dev] The untuned tunable parameter ARENA_SIZE

2017-06-01 Thread Siddhesh Poyarekar
On Thursday 01 June 2017 01:53 PM, INADA Naoki wrote: > * On Linux, madvice(..., MADV_DONTNEED) can be used. madvise does not reduce the commit charge in the Linux kernel, so in high consumption scenarios (and where memory overcommit is disabled or throttled) you'll see programs dying with OOM des