-
Notifications
You must be signed in to change notification settings - Fork 69
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
reduce ship memory usage #577
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't get to reviewing the test code. I did test with EOS and WAX snapshots.
Can we document some before/after numbers? |
Based on my testing with mainnet staring with latest snapshot. The memory used by nodeos stayed at 25.4G during store_chain_state stage in this branch; while it shot up to 40.6G with the main branch. Using ship_streamer --fetch-delta to stream the data from nodeos right after that, the nodeos memory barely went up to 26.0G in this branch, while it shot up more than 40+ G in the main branch before it went down because the RAM been reallocated to ship_streamer. |
Conflicts resolved in #628 which is probably the best place to start/continue review of these changes. |
Superseded by PR #628 |
This PR addresses the issue #203 to reduce memory consumption for state history plugin.