diff --git a/3rdParty/jemalloc/v5.0.1/src/pages.c b/3rdParty/jemalloc/v5.0.1/src/pages.c index fec64dd01d..733652adf3 100644 --- a/3rdParty/jemalloc/v5.0.1/src/pages.c +++ b/3rdParty/jemalloc/v5.0.1/src/pages.c @@ -20,7 +20,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;