Skip to content

Memory usage steadily increases without recovery in Electric instance #2229

@sullyo

Description

@sullyo

We're experiencing steadily increasing memory usage in our Electric instance that doesn't recover until restart.

Current behavior:

  • Memory usage shows continuous growth over time
  • No automatic recovery of unused memory
  • Requires manual restarts to reset memory levels

Environment:

  • Electric deployed on render via container
  • 2gb memory, 1 cpu

Theory:

  • Could be related to total requests. Saw memory exceed limit with more requests

Reproduction steps:

  1. Run Electric instance
  2. Monitor memory usage over time
  3. Observe steady increase in memory consumption
  4. Eventually requires restart to recover

Current workaround:
Manual restart of the instance clears the memory back to normal levels.

Image

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions