-
Notifications
You must be signed in to change notification settings - Fork 235
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
Start with ~10GB genesis.json consume ~150GB of RAM at peaks #1158
Comments
you need to open this to cosmos-sdk, I think there's some streaming json support in newer version. |
Yes, they seems to be working on it for some time with genesis.json streaming. |
I think there's already some streaming support with the collections module: https://github.com/cosmos/cosmos-sdk/blob/main/collections/genesis.go |
Looks like there is no actual way to optimize this, chain, resource wide, cannot be started with .json of big size. We will rollback on v0.44 and after try to make inplace upgrade to cronos. Do you have in-place upgrade code or examples for v0.44 to v0.46.15 jump? Thank you! |
changing to capnproto and flatbuffer would be helpful (not plain text json) |
Hello,
Start with ~10GB genesis.json consume ~150GB of RAM at peaks and about 80GB after initialization. Is there a way to improve that, maybe cut some checks?
It takes 30min to 10h to finish process.
Thank you
The text was updated successfully, but these errors were encountered: