Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
reduce default --db.size.limit from 7 to 3 Tb (to fit defaults of som…
Browse files Browse the repository at this point in the history
…e systems) (#992)
  • Loading branch information
AskAlexSharov committed May 10, 2023
1 parent 0e2883b commit 160ecd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kv/mdbx/kv_mdbx.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func NewMDBX(log log.Logger) MdbxOpts {
// but for reproducibility of benchmarks - please don't rely on Available RAM
dirtySpace: 2 * (memory.TotalMemory() / 42),

mapSize: 7 * datasize.TB,
mapSize: 2 * datasize.TB,
growthStep: 2 * datasize.GB,
mergeThreshold: 3 * 8192,
shrinkThreshold: -1, // default
Expand Down

0 comments on commit 160ecd9

Please sign in to comment.