Testnet memory usage ~double that of mainnet (bitcoind v0.15.0rc3) #11290

issue esotericnonsense openend this issue on September 8, 2017
  1. esotericnonsense commented at 7:42 pm on September 8, 2017: contributor

    Describe the issue

    When running two pruned nodes, one for mainnet and one for testnet3, the memory usage of the testnet3 daemon is much higher than the mainnet node.

    Can you reliably reproduce the issue?

    If so, please list the steps to reproduce below:

    Relevant entries in bitcoin.conf:

    0disablewallet=1
    1listen=1
    2rest=1
    

    mainnet

    0prune=6480
    

    testnet3

    0prune=1024
    

    Steps to reproduce:

    run bitcoind -maxmempool=100 -dbcache=16 run bitcoind -testnet -maxmempool=100 -dbcache=16

    Expected behaviour

    I would expect memory usage to be relatively equivalent across the two instances.

    Actual behaviour

    Immediately after start, mainnet has approx. 250M resident whilst testnet has approx 450M resident.

    Both nodes are synced to the latest height (484225 main, 1181354 test).

    What version of bitcoin-core are you using?

    v0.15.0rc3 verified signed binaries from bitcoin.org/bin.

    Machine specs:

    Linode 1024 VPS, Ubuntu 16.04 LTS with 1GB RAM, 20GB SSD.

  2. achow101 commented at 7:46 pm on September 8, 2017: member
    Testnet has way more blocks and occasionally way more spam as people test random stuff on testnet. I don’t find this really all that surprising.
  3. fanquake added the label Resource usage on Sep 12, 2017
  4. fanquake commented at 1:37 pm on October 7, 2017: member
    I agree this isn’t really an issue. Testnet is exactly for testing random stuff, spamming, trying to break things. It can also be reset, in which case the resource requirements can change dramatically. Closing this.
  5. fanquake closed this on Oct 7, 2017

  6. DrahtBot 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: 2024-10-31 03:12 UTC

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