-
Notifications
You must be signed in to change notification settings - Fork 100
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
Export block makes extremely high cost of memory which usually cause system killed on Linux. #129
Comments
Thanks for this tests @superboyiii , this will helps to find performance issues |
@superboyiii Hi! Is this solved? |
@superboyiii we have the same issue with import? |
@shargon No, it's because of that exporting block will write data straightly into memory which will cause overflow if your memory isn't large enough. But |
I think that the problem is here Snapshot is a cache, and these blocks still on memory until the snapshot is disposed. |
@superboyiii could you told Tom to make a Pull request? also if he can join the two logics will be great! |
I see that is already done! :) |
Will do |
Export block makes extremely high cost of memory which usually cause system killed on Linux.
On mainnet export, our server which has 16G memory, is only able to hold on about 2 million blocks' export. After that, it's been killed by ubuntu. Here's the line graph. I think ImportBlocks plugin is necessary to improve algorithm for export.
The text was updated successfully, but these errors were encountered: