[Ethereum] Changing geth cache while geth is running

go-ethereummist

I removed chaindata db by doing "geth removedb" and am doing a fresh download of the blockchain. I allocated 2048 MB of RAM to my geth sync by submitting "geth –syncmode 'fast' –cache=2048 console". After running that for a few minutes, I opened my Mist briefly and then closed it (don't know why I did that, but I did) and after a few hours, my geth RAM allocation is now up to 4 GB…did my opening of Mist accidentally double the geth RAM allocation in downloading the blockchain?

My geth version is:

Geth
Version: 1.6.1-stable
Git Commit: 021c3c281629baf2eae967dc2f0a7532ddfdc1fb
Architecture: amd64
Protocol Versions: [63 62]
Network Id: 1
Go Version: go1.8.1
Operating System: linux
GOPATH=
GOROOT=/usr/lib/go-1.8

Also, my Mist wallet is the most up to date version as currently seen on github today.

Best Answer

Regarding to the https://github.com/ethereum/go-ethereum/wiki/command-line-options you can use the key: --lightkdf (Reduce key-derivation RAM & CPU usage at some expense of KDF strength)

Related Topic