Reduce maximum total coinscache size during verification #4675

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2014_08_reduce_startup_peak_memory_usage changing 1 files +1 −1
  1. laanwj commented at 6:44 AM on August 11, 2014: member

    Due to growing coinsviewcaches, the memory usage during verification with checklevel=3 (and standard settings for dbcache) could be up to 500MiB on a 64-bit system. This is about twice the peak during reindexing, unnecessarily extending bitcoind's memory envelope.

    This commit reduces the maximum total size of the caches used during verification to just nCoinCacheSize, which should be the limit.

  2. Reduce maximum coinscache size during verification
    Due to growing coinsviewcaches, the memory usage with checklevel=3
    (and standard settings for dbcache) could be up to 500MiB on a
    64-bit system. This is about twice the peak during reindexing,
    unnecessarily extending bitcoind's memory envelope.
    
    This commit reduces the maximum total size of the caches used during
    verification to just nCoinCacheSize, which should be the limit.
    ea100c73fa
  3. BitcoinPullTester commented at 6:57 AM on August 11, 2014: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4675_ea100c73fae8a134c6ae2f1e39f557448734e012/ for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.

  4. laanwj renamed this:
    Reduce maximum coinscache size during verification
    Reduce maximum total coinscache size during verification
    on Aug 11, 2014
  5. gmaxwell commented at 7:41 AM on August 11, 2014: contributor

    Sounds good to me. utACK.

  6. laanwj added the label UTXO Db and Indexes on Aug 11, 2014
  7. laanwj merged this on Aug 12, 2014
  8. laanwj closed this on Aug 12, 2014

  9. laanwj referenced this in commit e257b7c4c4 on Aug 12, 2014
  10. laanwj referenced this in commit 2e280311b8 on Aug 27, 2014
  11. reddink referenced this in commit 09d79b3156 on May 27, 2020
  12. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me