diff --git a/src/txdb.h b/src/txdb.h index cc01a7395..c5189242a 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -52,7 +52,7 @@ class uint256; //! -dbcache default (MiB) static const int64_t nDefaultDbCache = 512; //! max. -dbcache (MiB) -static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 16384 : 1024; +static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 65536 : 1024; // 64 GiB ceiling on 64-bit so adaptive dbcache can use most of RAM on large hosts (was 16384) //! min. -dbcache in (MiB) static const int64_t nMinDbCache = 4;