From bbad85265e0334f155e5b6d9645b729e429162a8 Mon Sep 17 00:00:00 2001 From: Sergey Kroshnin Date: Mon, 8 Mar 2021 19:38:10 +0300 Subject: [PATCH] Increase max LMDB size (#3120) from 128GB to 256GB --- nano/lib/lmdbconfig.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nano/lib/lmdbconfig.hpp b/nano/lib/lmdbconfig.hpp index 342c03d126..4474a835a0 100644 --- a/nano/lib/lmdbconfig.hpp +++ b/nano/lib/lmdbconfig.hpp @@ -45,6 +45,6 @@ class lmdb_config final /** Sync strategy for the ledger database */ sync_strategy sync{ always }; uint32_t max_databases{ 128 }; - size_t map_size{ 128ULL * 1024 * 1024 * 1024 }; + size_t map_size{ 256ULL * 1024 * 1024 * 1024 }; }; }