Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory usage steadily increases without recovery in Electric instance #2229

Open
sullyo opened this issue Jan 14, 2025 · 0 comments
Open

Memory usage steadily increases without recovery in Electric instance #2229

sullyo opened this issue Jan 14, 2025 · 0 comments

Comments

@sullyo
Copy link

sullyo commented Jan 14, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant