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 | |
| parent | 6c8b8acfe45f8b2f20df48fed88ea074a26d653f (diff) | |
| download | monzero-core-8e1b7e2ad44d31b7d3e91dadbadd0eef99aa1e54.tar.gz monzero-core-8e1b7e2ad44d31b7d3e91dadbadd0eef99aa1e54.tar.xz monzero-core-8e1b7e2ad44d31b7d3e91dadbadd0eef99aa1e54.zip | |
raised maximum mapsize for lmdb to ~16GB
| -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"); |
