Bump default -dbcache to 1GiB #34763

pull darosior wants to merge 4 commits into bitcoin:master from andrewtoth:bump_dbcache2 changing 5 files +13 −5
  1. darosior commented at 8:02 pm on March 6, 2026: member
    This is an alternative to #34692 that does not introduce detection of system resources.
  2. dbcache: remove memory restricted special case for warning 6c8087c233
  3. dbcache: bump default from 450MB -> 1024MB 7b577a1239
  4. doc: update dbcache default in reduce-memory.md 6ea1bdecbd
  5. doc: add release notes for dbcache bump 153c7ff0ee
  6. DrahtBot commented at 8:03 pm on March 6, 2026: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK andrewtoth

    If your review is incorrectly listed, please copy-paste <!–meta-tag:bot-skip–> into the comment that the bot should ignore.

    LLM Linter (✨ experimental)

    Possible typos and grammar issues:

    • “the UTXO database cache size, this defaults to 1024.” -> “the UTXO database cache size. It defaults to 1024.” [Comma splice creates a run-on sentence; splitting into two sentences improves clarity.]

    • “The unit is MiB (1024).” -> “The unit is MiB (1024 MiB) or clarify as MiB (1024^2 bytes)” ["(1024)" is ambiguous/unclear—it doesn’t state the unit or whether it means 1024 MiB or 1024^2 bytes; clarify the intended meaning.]

    2026-03-06 20:03:22

  7. andrewtoth commented at 8:07 pm on March 6, 2026: contributor

    ACK 153c7ff0eec9f1b3b60b059f422b9ce0e2c18540

    Either PR is fine with me.

  8. darosior commented at 8:12 pm on March 6, 2026: member
    Looks like the power that be made a decision! Closing this then.
  9. darosior closed this on Mar 6, 2026

  10. l0rinc commented at 8:36 pm on March 6, 2026: contributor
    post-close NACK - as discussed before, low-end machines can’t run with that much default - see #31645 and #34641 for details.
  11. darosior commented at 8:52 pm on March 6, 2026: member
    It is not a realistic expectation for a default to cover every single system the software can be ran on, this is the reason configuration options exist in the first place. Default values should be set for the vast majority of targeted systems.
  12. l0rinc commented at 9:33 pm on March 6, 2026: contributor

    It is not a realistic expectation for a default to cover every single system the software can be ran on

    Maybe, “every single” is a high bar, but we can probably calculate a good default for most, see https://github.com/bitcoin/bitcoin/pull/34641

  13. yancyribbens commented at 10:35 pm on March 6, 2026: contributor

    Looks like the power that be made a decision! Closing this then.

    Shakes fist the powers that be, after all, isnt that why why people are into decentralized and privacy focused projects..

    Anyway, I realize people are just trying to ship something, however I feel like maybe closing this PR was a bit premature, after all, there is another release after this one.. Personally this is more what I had in mind, too.


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-03-09 09:13 UTC

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