Skip to content

Instantly share code, notes, and snippets.

@laanwj
Last active August 28, 2022 09:44
Show Gist options
  • Save laanwj/efe29c7661ce9b6620a7 to your computer and use it in GitHub Desktop.
Save laanwj/efe29c7661ce9b6620a7 to your computer and use it in GitHub Desktop.
Reducing bitcoind memory usage
@danielalexiuc
Copy link

Please note, since 0.14.1 the UTXO database cache size defaults to 450 MiB, not 300 MiB.

@Sword-Smith
Copy link

This is really cool. Thanks. Do you have any information about how these parameters affect the system's requirement and the total daily bandwidth use?

@laanwj
Copy link
Author

laanwj commented Jun 11, 2019

@danielalexiuc thanks, updated

@Sword-Smith lowering dbcache will make validation slower (on average) as more disk I/O to the database is needed as queries miss the cache. It will not have any effect on bandwidth use.
Reducing the maximum number of connections will likely reduce bandwidth use and lower CPU use.

@maflcko
Copy link

maflcko commented Jul 8, 2019

Could replace the content with a link to https://github.com/bitcoin/bitcoin/blob/master/doc/reduce-memory.md, now that the file was moved and will likely be kept up-to-date in the git repo?

@laanwj
Copy link
Author

laanwj commented Jul 8, 2019

Good point, done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment