From e1002924171a9da0abfb9f626a5a71cd87bca51c Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Tue, 4 Jun 2024 11:10:31 +0200 Subject: [PATCH] Adjust default budget to relieve stress on virtual memory space --- index-scheduler/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index-scheduler/src/lib.rs b/index-scheduler/src/lib.rs index 5704f5354..20c2208cc 100644 --- a/index-scheduler/src/lib.rs +++ b/index-scheduler/src/lib.rs @@ -540,7 +540,7 @@ impl IndexScheduler { #[cfg(windows)] const DEFAULT_BUDGET: usize = 6 * 1024 * 1024 * 1024 * 1024; // 6 TiB, 1 index #[cfg(not(windows))] - const DEFAULT_BUDGET: usize = 80 * 1024 * 1024 * 1024 * 1024; // 80 TiB, 18 indexes + const DEFAULT_BUDGET: usize = 60 * 1024 * 1024 * 1024 * 1024; // 60 TiB, 13 indexes let budget = if Self::is_good_heed(tasks_path, DEFAULT_BUDGET) { DEFAULT_BUDGET