From 9a4790f74ea53ae1a82b908930da792011b5a9ee Mon Sep 17 00:00:00 2001 From: Ben Grande Date: Thu, 22 Feb 2024 21:59:43 +0100 Subject: [PATCH] doc: inform how to reduce bitcoind memory usage --- salt/sys-bitcoin/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/salt/sys-bitcoin/README.md b/salt/sys-bitcoin/README.md index 5a6a2af..1a4ee1e 100644 --- a/salt/sys-bitcoin/README.md +++ b/salt/sys-bitcoin/README.md @@ -114,6 +114,15 @@ specifying how many `MiB` of block files to retain: prune=550 ``` +A configuration you may want to do after IBD (Initial Block Download) is to +reduce the used memory, as it is not necessary anymore to have a large cache. +As the bitcoind option `dbcache` is dynamic allocated per the qube memory, +you just need to reduce the memory available to the `sys-bitcoin` qube. From +`dom0`, run: +```sh +qvm-prefs sys-bitcoin memory 1000 +``` + ### Bitcoin Core GUI Do not use the GUI in the `sys-bitcoin` qube to edit configuration, it won't