From c5a9ae5792b491d38d04752090b0b978c730d530 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Thu, 12 May 2016 05:57:14 +0000 Subject: [PATCH] db size changed to 30GB --- src/mylmdb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mylmdb.h b/src/mylmdb.h index 3808746..0eaf566 100644 --- a/src/mylmdb.h +++ b/src/mylmdb.h @@ -37,7 +37,7 @@ namespace xmreg { - static const uint64_t DEFAULT_MAPSIZE = 20UL * 1024UL * 1024UL * 1024UL; /* 10 GiB */ + static const uint64_t DEFAULT_MAPSIZE = 30UL * 1024UL * 1024UL * 1024UL; /* 30 GiB */ static const uint64_t DEFAULT_NO_DBs = 10; @@ -490,7 +490,7 @@ namespace xmreg { cerr << e.what() << endl; } - } + } void print_all(const string& db_name)