diff options
author | Alex Morcos <morcos@chaincode.com> | 2017-03-31 10:25:39 -0400 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-04-05 08:23:01 +0200 |
commit | d6867689d187b72145bb36f4a204f4468e46ee7e (patch) | |
tree | eabc9aa345ab971a819b326aba882b783ce6deda | |
parent | ab864d3e4943fc617853a64cf22fa3939f89fcd2 (diff) |
Lower default memory footprint slightly
Github-Pull: #10133
Rebased-From: f33afd3b2be1bcabeb10168a53835359c9ff4a3e
-rw-r--r-- | src/txdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txdb.h b/src/txdb.h index 963f1006ea..337942ffaf 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -26,7 +26,7 @@ static constexpr int DB_PEAK_USAGE_FACTOR = 2; //! No need to flush if at least this much space still available. static constexpr int MAX_BLOCK_COINSDB_USAGE = 100 * DB_PEAK_USAGE_FACTOR; //! -dbcache default (MiB) -static const int64_t nDefaultDbCache = 600; +static const int64_t nDefaultDbCache = 450; //! max. -dbcache (MiB) static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 16384 : 1024; //! min. -dbcache (MiB) |