Skip to content

Commit d54c793

Browse files
authored
db: increase default mdbx max size (#2868)
1 parent d67417a commit d54c793

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

silkworm/db/datastore/kvdb/mdbx.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ struct EnvConfig {
369369
bool read_ahead{false}; // Whether to enable mdbx read ahead
370370
bool write_map{false}; // Whether to enable mdbx write map
371371
size_t page_size{os::page_size()}; // Mdbx page size
372-
size_t max_size{3_Tebi}; // Mdbx max map size
372+
size_t max_size{4_Tebi}; // Mdbx max map size
373373
size_t growth_size{2_Gibi}; // Increment size for each extension
374374
uint32_t max_tables{256}; // Default max number of named tables
375375
uint32_t max_readers{100}; // Default max number of readers

0 commit comments

Comments
 (0)