mina icon indicating copy to clipboard operation
mina copied to clipboard

archive node consumes a lot of memory with --config-file flag

Open ghost-not-in-the-shell opened this issue 9 months ago • 0 comments

When start an archive node the first time with --config-file flag, it would try to add the genesis accounts, and this would consumes a lot of memory. For example, in short-epoch dry run network, the memory usage of the archive node takes about 50 GB of memory and the initialization process takes about an hour.

This --config-file flag is optional. In theory, it's not needed for migrated database, because accounts in the fork genesis ledger has already been populated by migration.

Suggestion: we should add this to the doc, so that user would not be surprised by the high memory usage.

ghost-not-in-the-shell avatar May 08 '24 18:05 ghost-not-in-the-shell