Skip to content

Commit

Permalink
Increase max LMDB size (#3120)
Browse files Browse the repository at this point in the history
from 128GB to 256GB
  • Loading branch information
SergiySW authored Mar 8, 2021
1 parent 6de21ee commit bbad852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nano/lib/lmdbconfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ class lmdb_config final
/** Sync strategy for the ledger database */
sync_strategy sync{ always };
uint32_t max_databases{ 128 };
size_t map_size{ 128ULL * 1024 * 1024 * 1024 };
size_t map_size{ 256ULL * 1024 * 1024 * 1024 };
};
}

0 comments on commit bbad852

Please # to comment.