From 1adea06a5b64002880eb1ca116b32e23dd13b48f Mon Sep 17 00:00:00 2001 From: Konstantin <355847+Frozen@users.noreply.github.com> Date: Sat, 14 Oct 2023 18:53:46 -0800 Subject: [PATCH] Fixed lru cache size. (#4535) --- cmd/harmony/dumpdb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/harmony/dumpdb.go b/cmd/harmony/dumpdb.go index 5803359e5b..ab2e58e3c5 100644 --- a/cmd/harmony/dumpdb.go +++ b/cmd/harmony/dumpdb.go @@ -103,7 +103,7 @@ const ( STATEDB_CACHE_SIZE = 64 // size in MB LEVELDB_CACHE_SIZE = 256 LEVELDB_HANDLES = 1024 - LRU_CACHE_SIZE = 64 * 1024 * 1024 + LRU_CACHE_SIZE = 512 ) const (