From 2775be9bed98f20a8856bd2dd0b893ea41eacc0f Mon Sep 17 00:00:00 2001 From: Daan Date: Tue, 11 Feb 2025 16:28:08 -0800 Subject: [PATCH] disable page commit_on_demand by default --- src/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.c b/src/options.c index 485beb48..d1bdd716 100644 --- a/src/options.c +++ b/src/options.c @@ -174,7 +174,7 @@ static mi_option_desc_t options[_mi_option_last] = { 0, UNINIT, MI_OPTION(max_vabits) }, // max virtual address space bits { MI_DEFAULT_PAGEMAP_COMMIT, UNINIT, MI_OPTION(pagemap_commit) }, // commit the full pagemap upfront? - { 2, UNINIT, MI_OPTION(page_commit_on_demand) }, // commit pages on-demand (2 disables this on overcommit systems (like Linux)) + { 0, UNINIT, MI_OPTION(page_commit_on_demand) }, // commit pages on-demand (2 disables this on overcommit systems (like Linux)) }; static void mi_option_init(mi_option_desc_t* desc);