diff --git a/ethdb/kv_lmdb.go b/ethdb/kv_lmdb.go index 7955e0d5a..1f299e126 100644 --- a/ethdb/kv_lmdb.go +++ b/ethdb/kv_lmdb.go @@ -57,7 +57,7 @@ func (opts lmdbOpts) Open() (KV, error) { } opts.path, _ = ioutil.TempDir(os.TempDir(), "lmdb") } else { - err = env.SetMapSize(32 << 40) // 32TB + err = env.SetMapSize(4 << 40) // 4TB logger = log.New("lmdb", path.Base(opts.path)) if err != nil { return nil, err