diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-11-12 18:27:25 -0500 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-01-04 19:39:40 -0800 |
commit | 8e1b7e2ad44d31b7d3e91dadbadd0eef99aa1e54 (patch) | |
tree | 8873b493aafc9ae1f751f34146c56ab5c631edba /src | |
parent | more blockchain height-related fixes, syncing other nodes code this time (diff) | |
download | monero-8e1b7e2ad44d31b7d3e91dadbadd0eef99aa1e54.tar.xz |
raised maximum mapsize for lmdb to ~16GB
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp b/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp index bd775ac88..a123a3643 100644 --- a/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp +++ b/src/cryptonote_core/BlockchainDB_impl/db_lmdb.cpp @@ -717,7 +717,7 @@ void BlockchainLMDB::open(const std::string& filename) LOG_PRINT_L0("Failed to set max number of dbs"); throw DB_ERROR("Failed to set max number of dbs"); } - size_t mapsize = 1LL << 32; + size_t mapsize = 1LL << 34; if (auto result = mdb_env_set_mapsize(m_env, mapsize)) { LOG_PRINT_L0("Failed to set max memory map size"); |