I am having the same issue with Geth 1.8.9, where, if I let Geth run for a few days, it will crash with an «out of memory» error. My Ubutun Xenial server is configured with 8GB of RAM and 32GB of swap. The command line to start Geth is the following: `go-ethereum/build/bin/geth —nodiscover —cache=2048 —rpc —rpcaddr 0.0.0.0 —rpccorsdomain «*» —rpcapi «db,eth,net,web3,personal,debug,txpool» js ./ethereum/mine_pending.js `
i used to run Geth 1.6.x with the same command and never had an issue with it running out of memory. I have actually tripled the swap space on this server to accommodate the «out of memory» issue and it is still there.