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.