From 183975be1aeef9965a179eb1159d66e818b00ddd Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Wed, 29 Aug 2018 16:47:28 +0300 Subject: [PATCH] Increase LMDB's map size (#413) --- src/Cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cache.cpp b/src/Cache.cpp index d67a2e9..b8b4a2b 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -41,7 +41,7 @@ static const lmdb::val CACHE_FORMAT_VERSION_KEY("cache_format_version"); constexpr size_t MAX_RESTORED_MESSAGES = 30; -constexpr auto DB_SIZE = 256UL * 1024UL * 1024UL; // 256 MB +constexpr auto DB_SIZE = 512UL * 1024UL * 1024UL; // 512 MB constexpr auto MAX_DBS = 1024UL; //! Cache databases and their format.