mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
Lower default memory footprint slightly
This commit is contained in:
parent
5b95a190e8
commit
f33afd3b2b
@ -26,7 +26,7 @@ static constexpr int DB_PEAK_USAGE_FACTOR = 2;
|
|||||||
//! No need to flush if at least this much space still available.
|
//! No need to flush if at least this much space still available.
|
||||||
static constexpr int MAX_BLOCK_COINSDB_USAGE = 100 * DB_PEAK_USAGE_FACTOR;
|
static constexpr int MAX_BLOCK_COINSDB_USAGE = 100 * DB_PEAK_USAGE_FACTOR;
|
||||||
//! -dbcache default (MiB)
|
//! -dbcache default (MiB)
|
||||||
static const int64_t nDefaultDbCache = 600;
|
static const int64_t nDefaultDbCache = 450;
|
||||||
//! max. -dbcache (MiB)
|
//! max. -dbcache (MiB)
|
||||||
static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 16384 : 1024;
|
static const int64_t nMaxDbCache = sizeof(void*) > 4 ? 16384 : 1024;
|
||||||
//! min. -dbcache (MiB)
|
//! min. -dbcache (MiB)
|
||||||
|
Loading…
Reference in New Issue
Block a user