iotex-core icon indicating copy to clipboard operation
iotex-core copied to clipboard

Memory usage monitor/control for mptrie

Open CoderZhi opened this issue 2 years ago • 0 comments

What would you like to be added: Replace the branch nodes or extension nodes, which have not been visited for a long time, with .

Why is this needed: The size of mp trie will keep increasing with the new implementation, with current implementation, the memory size will be as large as 32G. To limit the memory usage, we need a way to replace some nodes with their corresponding hash nodes periodically.

CoderZhi avatar Mar 16 '22 22:03 CoderZhi