From 0d6a65af073d1a06ccc13cbf3f3d54ff898e500f Mon Sep 17 00:00:00 2001 From: "DeepBlueV7.X" Date: Wed, 15 Jan 2020 13:10:15 +0100 Subject: [PATCH] Try to lower map size Maybe this fixes the 1mb map size in my windows test environment? --- src/Cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cache.cpp b/src/Cache.cpp index d74bbe91..f6f8052d 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -44,7 +44,7 @@ static lmdb::val CACHE_FORMAT_VERSION_KEY("cache_format_version"); constexpr size_t MAX_RESTORED_MESSAGES = 30; -constexpr auto DB_SIZE = 512UL * 1024UL * 1024UL * 1024UL; // 512 GB +constexpr auto DB_SIZE = 32UL * 1024UL * 1024UL * 1024UL; // 512 GB constexpr auto MAX_DBS = 8092UL; //! Cache databases and their format.