KS2007: Memory management & application notification of low memory
Posted Sep 13, 2007 22:30 UTC (Thu) by
nix (subscriber, #2304)
In reply to:
KS2007: Memory management & application notification of low memory by oak
Parent article:
KS2007: Memory management
The glibc mmap threshold *minimum* is 128Kb. In recent versions of glibc
the threshold is dynamically adjusted between 128Kb and 512Kb (on 32-bit
boxes) and 64Mb (on 64-bit). (The mmap threshold starts at 128Kb and rises
whenever the application frees mmap()ed memory, so that transient
allocations tend to use brk() instead.)
(This is new behaviour in glibc 2.5.)
(
Log in to post comments)