You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
move snapshot loading from nodeos to leap-util #2050
move snapshot loading from nodeos to leap-util... or at least add snapshot loading into leap-util.
The reason for this is to allow snapshots to be downloaded, processed and removed (saving disk space).
With the current logic you need some scripts to download snapshots and then tell nodeos to start with the snapshot. But that script doesn't really know when nodeos is finished loading the snapshot to allow it to delete the snapshot file (could read the journal log to look for specific message, but that's fragile).
Would be much cleaner to just remove the whole snapshot loading logic out of nodeos and force leap-util to deal with creating the correct statedb and then start nodeos normally.
Activity
matthewdarwin commentedon Jan 6, 2024
Also using
nodeos --snapshotwith mapped_private mode doesn't free the RAM that it would normally without starting from a snapshot.spoonincode commentedon Aug 9, 2024
fwiw, at least as of AntelopeIO/spring#440 and possibly earlier, you can work around that by something like