Flagsmith / Flagsmith/flagsmith

MCP Server dies of OOM every few days

Open
#8,486 0 comments 0 reactions 1 assignee Claimed by @emyller View on GitHub
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 14h
Merged PRs (30d)
124

Description

Thanks to our monitoring, we found that our SaaS MCP server is suffering from a slow and steady memory leak that leads to an OOM kill every few days — unless the buildup is broken by a release.

Image

When the OOM happens, any in-flight requests are dropped, leading to a surge in 5xx alerts and a poor agent/user experience.

## Acceptance criteria

- [ ] Memory usage is flat/stable through the entire MCP server operation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.