From 8c140f6bcdb141fec01f205136d7a3541178bae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Sun, 22 Dec 2019 00:37:22 +0100 Subject: [PATCH] Increase the disk usage limit --- meilisearch-core/src/database.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meilisearch-core/src/database.rs b/meilisearch-core/src/database.rs index 399117254..14242f890 100644 --- a/meilisearch-core/src/database.rs +++ b/meilisearch-core/src/database.rs @@ -141,13 +141,13 @@ impl Database { fs::create_dir_all(&main_path)?; let env = heed::EnvOpenOptions::new() - .map_size(10 * 1024 * 1024 * 1024) // 10GB + .map_size(100 * 1024 * 1024 * 1024) // 100GB .max_dbs(3000) .open(main_path)?; fs::create_dir_all(&update_path)?; let update_env = heed::EnvOpenOptions::new() - .map_size(10 * 1024 * 1024 * 1024) // 10GB + .map_size(100 * 1024 * 1024 * 1024) // 100GB .max_dbs(3000) .open(update_path)?;