Skip to content

Anvil OOM-killed on startup with --state #9562

Open
@CluEleSsUK

Description

@CluEleSsUK

Component

Anvil

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

nightly-75fc63be4fc9241a1981a55c12b6e300fd82a51b

What command(s) is the bug in?

No response

Operating System

Linux

Describe the bug

We've run anvil for a few weeks with interval mining, such that the state is a few GB.
On node updates that restart anvil, it gets OOM-killed while trying to restore the current state.
In principle it should be possible to stream from the state file with backpressure so that it doesn't fall over - not sure if this constitutes a bug or a feature request, but the program getting nuked is unexpected

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions