Skip to content

Large memory usage when loading large state file #1917

Description

@noonio

Context & versions

It has been reported that when loading a 170gig state file, the hydra-node uses lots of memory and indeed crashes. This should not be the case since #1618 has been merged.

Steps to reproduce

  1. Create a large state file
  2. Load it
  3. Observe that memory goes up.

Actual behavior

Memory goes up.

Expected behavior

Memory usage should be bounded, even when reading from an arbitrarily-large state file.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

No fields configured for Bug.

Projects

Status
Done ✔
Status
2025 Q3

Relationships

None yet

Development

No branches or pull requests

Issue actions