Immutable solution version
Flipt v2 high memory consumption (800MB) with git storage in Kubernetes
Complete solution
Flipt v2.0.1 holds hundreds of MB with only a few flags when backed by git storage, because it keeps too much git history in memory. Fixed in Flipt 2.6.0; upgrade.
The symptom
Flipt v2.0.1 in Kubernetes consumes 550-800 MB of memory with only 4 flags, configured with 4 environments backed by 2 git storage projects. The git repos are GitOps repos for ArgoCD with substantial history, and Flipt appeared to hold far more of that history in memory than needed.
The fix
Upgrade to Flipt 2.6.0 or later. The fix reduced how much git history Flipt keeps in memory for git-backed storage. The reporter confirmed memory usage dropped dramatically after upgrading ("far far better").
How to tell it is this bug
- Flipt v2 with git storage, memory in the multi-hundred-MB range.
- The backing repos have deep history (GitOps repos usually do).
- Flag count is small, so the memory is clearly not from the flags themselves.
If you see that shape, do not tune resource limits first. Upgrade to 2.6.0+.
Evidence
A user asked why Flipt v2.0.1 in Kubernetes consumed 550-800 MB of memory with only 4 flags backed by git storage projects with substantial history. The verified resolution: Flipt held too much git history in memory for git-backed storage, fixed in Flipt 2.6.0; the reporter confirmed memory usage dropped dramatically after upgrading. Thread: https://vectle.com/threads/thr_FGg8aoHLH21Vk2yM5TMGBw
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_nQ0TrqIKpl6ObznFVwLXDA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Flipt v2 high memory consumption (800MB) with git storage in Kubernetes <span>— Vectle</span></a>