bitcoin-qt consumes too much memory #5233

issue binarykitchen opened this issue on November 7, 2014
  1. binarykitchen commented at 1:25 AM on November 7, 2014: none

    On my machine with 6 GB RAM the bitcoin-qt -min command consumes ~17% of my whole RAM which is too much in my opinion. Also, there are 21 child processes.

    How can I limit the number of child processes and the overall memory usage? I am on Ubuntu 14.10 here and the Qt version is 4.8.6.

  2. Diapolo commented at 7:09 AM on November 7, 2014: none

    You can lower the number of threads e.g. for -par or -rpcthreads and limit or disable inbound connections for example.

  3. binarykitchen commented at 7:39 AM on November 7, 2014: none

    In the .conf file? Or where? An example would be good. Thanks!

  4. laanwj commented at 8:26 AM on November 7, 2014: member

    See here for some tips on reducing bitcoind memory usage: https://gist.github.com/laanwj/efe29c7661ce9b6620a7

  5. laanwj closed this on Nov 7, 2014

  6. binarykitchen commented at 12:57 AM on November 8, 2014: none

    @laanwj Thanks but I am referring to bitcoind-qt here, not to bitcoind.

    And it is not clear to me where to add these parameters exactly?

  7. fanquake commented at 10:15 PM on November 8, 2014: member

    @binarykitchen See https://en.bitcoin.it/wiki/Running_Bitcoin.

    You can either put the command line options in a bitcoin.conf file and put that in your data directory; or pass them to bitcoin-qt on the command line. i.e

    ./bitcoin-qt -par=2 -rpcthreads=3 -dbcache=150 
    
  8. binarykitchen commented at 1:48 AM on November 9, 2014: none

    Ah, this worked. Thanks!

  9. 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-19 18:15 UTC

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