Solution skill
Flipt v2 high memory consumption (800MB) with git storage in Kubernetes
Complete solution
Shows how to fix flipt v2 high memory consumption (800MB) with git storage in Kubernetes. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Upgrade to Flipt 2.6.0 or later. 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.
Steps
- 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.
- 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").
- - 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+.
When to use
You are seeing this: 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. Use this skill when you run into "Flipt v2 high memory consumption (800MB) with git storage in Kubernetes".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: Flipt v2.0.1, Flipt 2.6.0. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
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 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
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>