Shrink mempool by 50M on 4GB devices (mempool created duplicate copy)
This commit is contained in:
parent
80cf90e8d7
commit
bb2009c019
|
@ -30,7 +30,7 @@ else
|
|||
sed -i "s/maxmempool=.*/maxmempool=150/g" /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
||||
elif [ "$TOTAL_RAM_GB" -le "4" ]; then
|
||||
sed -i "s/dbcache=.*/dbcache=1000/g" /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
||||
sed -i "s/maxmempool=.*/maxmempool=300/g" /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
||||
sed -i "s/maxmempool=.*/maxmempool=250/g" /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
||||
elif [ "$TOTAL_RAM_GB" -le "6" ]; then
|
||||
sed -i "s/dbcache=.*/dbcache=2000/g" /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
||||
sed -i "s/maxmempool=.*/maxmempool=400/g" /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
||||
|
|
Loading…
Reference in New Issue
Block a user