Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory usage monitor/control for mptrie #3204

Closed
CoderZhi opened this issue Mar 16, 2022 · 1 comment · Fixed by #3634
Closed

Memory usage monitor/control for mptrie #3204

CoderZhi opened this issue Mar 16, 2022 · 1 comment · Fixed by #3634
Assignees
Labels
enhancement New feature or request patch1

Comments

@CoderZhi
Copy link
Collaborator

CoderZhi commented Mar 16, 2022

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 CoderZhi added the enhancement New feature or request label Mar 16, 2022
@millken millken mentioned this issue Sep 9, 2022
2 tasks
@raullenchai
Copy link
Member

Add flag to enable this one on a running node, default to be false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request patch1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants