Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Reducing bitcoind memory usage
@danielalexiuc

This comment has been minimized.

Copy link

commented Feb 12, 2018

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

@Sword-Smith

This comment has been minimized.

Copy link

commented Jun 4, 2019

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

This comment has been minimized.

Copy link
Owner Author

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.

@MarcoFalke

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link
Owner Author

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
You can’t perform that action at this time.