diff --git a/3rdParty/jemalloc/v5.1.0/src/pages.c b/3rdParty/jemalloc/v5.1.0/src/pages.c index 26002692d6..3fbad076ad 100644 --- a/3rdParty/jemalloc/v5.1.0/src/pages.c +++ b/3rdParty/jemalloc/v5.1.0/src/pages.c @@ -23,7 +23,7 @@ static size_t os_page; #ifndef _WIN32 # define PAGES_PROT_COMMIT (PROT_READ | PROT_WRITE) -# define PAGES_PROT_DECOMMIT (PROT_NONE) +# define PAGES_PROT_DECOMMIT (PROT_READ | PROT_WRITE) static int mmap_flags; #endif static bool os_overcommits;