Geth version: scroll-v5.5.0
OS & Version: Ubuntu with docker version 25.0.2, build 29cf629
Expected behaviour
Actual behaviour
I have been trying to setup a full node instead and an archive node. When using the --gcmode full, geth service crashes since it consume all the RAM of the server.
Seems memory leak is in function func (l *ZktrieDatabase) Put(k, v []byte) error at trie/zk_trie_database.go line 39.
Thank you for reporting this. Currently we only support --gcmode archive and full mode is known to not work, but we will work on adding pruning in the near future.
System information
Geth version:
scroll-v5.5.0
OS & Version: Ubuntu with docker version 25.0.2, build 29cf629Expected behaviour
Actual behaviour
I have been trying to setup a full node instead and an archive node. When using the --gcmode full, geth service crashes since it consume all the RAM of the server.
Seems memory leak is in function
func (l *ZktrieDatabase) Put(k, v []byte) error
at trie/zk_trie_database.go line 39.Steps to reproduce the behaviour
Backtrace
You can check the heap and allocs from the following files heap.txt allocs.txt