RAM usage issue #21703

issue dzmitrykliapkou opened this issue on April 15, 2021
  1. dzmitrykliapkou commented at 7:09 PM on April 15, 2021: none

    Hi there! We are trying to run full-node on AWS EC2 r5.large instance with 16GB RAM but we are facing a strange issue. Despite any options listed here bitcoind memory usage constantly grows, so ~6min after start it uses 100% of RAM.

    Here is the command we use to run bitcoind:

    usr/local/bin/bitcoind -daemon \
    -pid=/run/bitcoind/bitcoind.pid \
    -conf=/etc/bitcoin/bitcoin.conf \
    -datadir=/data/bitcoind \
    -txindex=1 \
    -sysperms=true \
    -dbcache=5000 \
    -maxmempool=100
    

    How can we limit bitcoind memory usage? Thanks in advance

  2. dzmitrykliapkou added the label Bug on Apr 15, 2021
  3. jonatack commented at 8:13 PM on April 15, 2021: member

    Which version of bitcoin core on which OS are you running? (Did you try leaving -dbcache at the default value of 450?)

  4. dzmitrykliapkou commented at 10:36 AM on April 19, 2021: none

    Hi! We use Bitcoin Core version v0.21.0 As for default dbcache value - yes, we've tried. Now it is running without -dbcache argument (as I understand default value is applied in this case), and it uses ~20GB of memory.

  5. dzmitrykliapkou commented at 9:59 AM on September 7, 2021: none
  6. dzmitrykliapkou closed this on Sep 7, 2021

  7. DrahtBot locked this on Sep 7, 2022
Labels

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-05-03 06:14 UTC

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