mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
raised maximum mapsize for lmdb to ~16GB
This commit is contained in:
parent
6c8b8acfe4
commit
8e1b7e2ad4
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue