From 26b5dad042373f87c585f02a4483af94e15bf849 Mon Sep 17 00:00:00 2001 From: Many Date: Wed, 29 Sep 2021 15:08:39 +0200 Subject: [PATCH] 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 e61fbd6b4..30ee49893 100644 --- a/milli/src/update/index_documents/mod.rs +++ b/milli/src/update/index_documents/mod.rs @@ -248,7 +248,7 @@ impl<'t, 'u, 'i, 'a> IndexDocuments<'t, 'u, 'i, 'a> { let chunk_iter = grenad_obkv_into_chunks( documents_file, params.clone(), - self.documents_chunk_size.unwrap_or(1024 * 1024 * 4), // 4MiB + self.documents_chunk_size.unwrap_or(1024 * 1024 * 128), // 128MiB ); let result = chunk_iter.map(|chunk_iter| {