From c4b0c5705972a6ee4d5a4fcc55a6b8ab4f914cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Fri, 2 Oct 2020 16:47:41 +0200 Subject: [PATCH] Reduce the default indexer max-memory parameter --- src/bin/indexer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/indexer.rs b/src/bin/indexer.rs index 8ca1a768b..828bce4c8 100644 --- a/src/bin/indexer.rs +++ b/src/bin/indexer.rs @@ -90,7 +90,7 @@ struct IndexerOpt { max_nb_chunks: Option, /// MTBL max memory in bytes. - #[structopt(long, default_value = "1610612736")] // 1.5 GB + #[structopt(long, default_value = "1335885824")] // 1.25 GB max_memory: usize, /// Size of the linked hash map cache when indexing.