From d59bcea74978ae24d8aa368254df0889ff0eec31 Mon Sep 17 00:00:00 2001 From: Many Date: Thu, 18 Nov 2021 17:04:09 +0100 Subject: [PATCH] Revert "Revert "Change chunk size to 4MiB to fit more the end user usage"" --- milli/src/update/index_documents/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/update/index_documents/mod.rs b/milli/src/update/index_documents/mod.rs index 4fbb75d5f..f238c7546 100644 --- a/milli/src/update/index_documents/mod.rs +++ b/milli/src/update/index_documents/mod.rs @@ -243,7 +243,7 @@ where let chunk_iter = grenad_obkv_into_chunks( documents_file, params.clone(), - self.indexer_config.documents_chunk_size.unwrap_or(1024 * 1024 * 128), // 128MiB + self.indexer_config.documents_chunk_size.unwrap_or(1024 * 1024 * 4), // 4MiB ); let result = chunk_iter.map(|chunk_iter| {