Browse Source

Lower default memory footprint slightly

Github-Pull: #10133
Rebased-From: f33afd3b2b
0.14
Alex Morcos 8 years ago committed by Wladimir J. van der Laan
parent
commit
d6867689d1
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/txdb.h

2
src/txdb.h

@ -26,7 +26,7 @@ static constexpr int DB_PEAK_USAGE_FACTOR = 2; @@ -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)

Loading…
Cancel
Save