mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
Merge bitcoin/bitcoin#31985: doc: Bring reduce-memory.md up to date
fff4f93dff
doc: Bring reduce-memory.md up to date (laanwj) Pull request description: Update default number of RPC threads to 16 (#31215) and remove reference to very old version of bitcoin core. Let me know if you notice other mismatches with current defaults. ACKs for top commit: achow101: ACKfff4f93dff
brunoerg: ACKfff4f93dff
TheCharlatan: ACKfff4f93dff
vasild: ACKfff4f93dff
Tree-SHA512: 14d91da1f86c8b460828a6e4ae9151ec430cbbaefa85d258c574b5e340cbf64244de981d5b3f37a0d97aafe872f3edb100596fc9e2b11c0df7874b1da8054a55
This commit is contained in:
commit
c8dcb61172
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ The size of some in-memory caches can be reduced. As caches trade off memory usa
|
|||
- The minimum value for `-maxmempool` is 5.
|
||||
- A lower maximum mempool size means that transactions will be evicted sooner. This will affect any uses of `bitcoind` that process unconfirmed transactions.
|
||||
|
||||
- Since `0.14.0`, unused memory allocated to the mempool (default: 300MB) is shared with the UTXO cache, so when trying to reduce memory usage you should limit the mempool, with the `-maxmempool` command line argument.
|
||||
- The unused memory allocated to the mempool (default: 300MB) is shared with the UTXO cache, so when trying to reduce memory usage you should limit the mempool, with the `-maxmempool` command line argument.
|
||||
|
||||
- To disable most of the mempool functionality there is the `-blocksonly` option. This will reduce the default memory usage to 5MB and make the client opt out of receiving (and thus relaying) transactions, except from peers who have the `relay` permission set (e.g. whitelisted peers), and as part of blocks.
|
||||
|
||||
|
@ -39,7 +39,7 @@ threads take up 8MiB for the thread stack on a 64-bit system, and 4MiB in a
|
|||
32-bit system.
|
||||
|
||||
- `-par=<n>` - the number of script verification threads, defaults to the number of cores in the system minus one.
|
||||
- `-rpcthreads=<n>` - the number of threads used for processing RPC requests, defaults to `4`.
|
||||
- `-rpcthreads=<n>` - the number of threads used for processing RPC requests, defaults to `16`.
|
||||
|
||||
## Linux specific
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue