Browse Source

Lower default memory footprint slightly

0.15
Alex Morcos 8 years ago
parent
commit
f33afd3b2b
  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