mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-05 09:56:22 +03:00
Only disable munmap(2) by default on 64-bit Linux.
This reduces the likelihood of address space exhaustion on 32-bit systems. This resolves #350.
This commit is contained in:
parent
c43a83d225
commit
a01f993077
2 changed files with 11 additions and 5 deletions
8
INSTALL
8
INSTALL
|
|
@ -161,9 +161,11 @@ any of the following arguments (not a definitive list) to 'configure':
|
|||
--disable-munmap
|
||||
Disable virtual memory deallocation via munmap(2); instead keep track of
|
||||
the virtual memory for later use. munmap() is disabled by default (i.e.
|
||||
--disable-munmap is implied) on Linux, which has a quirk in its virtual
|
||||
memory allocation algorithm that causes semi-permanent VM map holes under
|
||||
normal jemalloc operation.
|
||||
--disable-munmap is implied) on [64-bit] Linux, which has a quirk in its
|
||||
virtual memory allocation algorithm that causes semi-permanent VM map holes
|
||||
under normal jemalloc operation. Although munmap() causes issues on 32-bit
|
||||
Linux as well, it is not disabled by default due to the practical
|
||||
possibility of address space exhaustion.
|
||||
|
||||
--disable-fill
|
||||
Disable support for junk/zero filling of memory. See the "opt.junk" and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue