From 64e722f7546692488d2cff306003551f96b78942 Mon Sep 17 00:00:00 2001 From: Milovidov Mikhail Date: Tue, 21 Apr 2020 19:39:55 +0300 Subject: [PATCH] Set reset_decommits to zero for 32 bit os --- src/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.c b/src/options.c index 0af4a485..cc265012 100644 --- a/src/options.c +++ b/src/options.c @@ -59,7 +59,7 @@ static mi_option_desc_t options[_mi_option_last] = { 1, UNINIT, MI_OPTION(eager_commit) }, // commit on demand #if defined(_WIN32) || (MI_INTPTR_SIZE <= 4) // and other OS's without overcommit? { 0, UNINIT, MI_OPTION(eager_region_commit) }, - { 1, UNINIT, MI_OPTION(reset_decommits) }, // reset decommits memory + { 0, UNINIT, MI_OPTION(reset_decommits) }, // reset decommits memory #else { 1, UNINIT, MI_OPTION(eager_region_commit) }, { 0, UNINIT, MI_OPTION(reset_decommits) }, // reset uses MADV_FREE/MADV_DONTNEED