diff options
| author | Alex Morcos <[email protected]> | 2017-03-31 10:25:39 -0400 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-04-05 08:23:01 +0200 |
| commit | d6867689d187b72145bb36f4a204f4468e46ee7e (patch) | |
| tree | eabc9aa345ab971a819b326aba882b783ce6deda /src | |
| parent | Make pcoinsTip memory calculations consistent (diff) | |
| download | discoin-d6867689d187b72145bb36f4a204f4468e46ee7e.tar.xz discoin-d6867689d187b72145bb36f4a204f4468e46ee7e.zip | |
Lower default memory footprint slightly
Github-Pull: #10133
Rebased-From: f33afd3b2be1bcabeb10168a53835359c9ff4a3e
Diffstat (limited to 'src')
| -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 963f1006e..337942ffa 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) |