malloc2mmap_threshold — use mmap when allocations exceed this amount
malloc2mmap_threshold = 4092
When set to a positive value, Momentum will use
mmap to fulfill memory allocation requirements exeeding the
malloc2mmap_threshold size, rather than allocating memory from the heap via
Lowering this setting can reduce heap fragmentation and the system RSS, but can use more address space than heap allocations alone, since the minimum granularity of
mmap is the system page size.
The default is 4092.
malloc2mmap_threshold is valid in the global scope.