From 771e6ac473b141d4124667dfc97236025f4c8015 Mon Sep 17 00:00:00 2001 From: Konstantin Renner Date: Fri, 26 Jun 2026 12:44:57 +0200 Subject: [PATCH] music-assistant: raise memory limit to 6Gi so Smart Fades can load The Smart Fades audio-analysis provider added in MA 2.9 loads an ML model and reads the pod cgroup memory limit to gate startup. At the current 2Gi limit it refuses to run: Provider(instance) Smart Fades can not run on this system: at least 4GB of RAM is required (2.0GB detected). so the provider shows 'requires attention' / RECONFIGURE in the UI. Loudness Analysis (lightweight) is unaffected. CPU/AVX2 (x86-64-v3) and the 2-core minimum are already met; RAM is the sole blocker. Upstream recommends 6GB+ and warns the 4GB minimum risks OOM under load. k8s-edge is a 12GB VM currently using ~4GB, so set the limit to the recommended 6Gi (request bumped 512Mi->1Gi). On next reconcile MA restarts and Smart Fades passes the requirement check. Co-Authored-By: Claude Opus 4.8 (1M context) --- kubernetes/apps/music-assistant/deployment.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/kubernetes/apps/music-assistant/deployment.yaml b/kubernetes/apps/music-assistant/deployment.yaml index fe2f655e..c69229e3 100644 --- a/kubernetes/apps/music-assistant/deployment.yaml +++ b/kubernetes/apps/music-assistant/deployment.yaml @@ -75,9 +75,15 @@ spec: resources: requests: cpu: 250m - memory: 512Mi + memory: 1Gi limits: - memory: 2Gi + # The Smart Fades audio-analysis provider (MA 2.9+) loads an ML + # model and refuses to start if it detects < 4GB via the pod's + # cgroup memory limit ("at least 4GB of RAM is required, 2.0GB + # detected"). Upstream recommends 6GB+; the 4GB minimum risks + # OOM under load. k8s-edge (12GB VM) has the headroom, so the + # limit is set to the recommended 6Gi rather than the 4GB floor. + memory: 6Gi securityContext: # Matches the LXC docker-compose: SYS_ADMIN + DAC_READ_SEARCH # and AppArmor unconfined are required by the upstream image -- 2.54.0