From 16e408ee59d9de062eaf02103f478aa9d2899f6f Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 9 May 2026 09:12:39 +0000 Subject: [PATCH] postiz: bump memory limit to 4Gi (was OOMing during NestJS startup) --- stacks/postiz/modules/postiz/main.tf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/stacks/postiz/modules/postiz/main.tf b/stacks/postiz/modules/postiz/main.tf index fcf28ff5..96e19555 100644 --- a/stacks/postiz/modules/postiz/main.tf +++ b/stacks/postiz/modules/postiz/main.tf @@ -160,13 +160,17 @@ resource "helm_release" "postiz" { mountPath = "/uploads" }] + # Postiz runs frontend (Next 16) + backend (NestJS) + orchestrator + # (Temporal worker with webpack bundling) in one pod. The orchestrator + # alone bundles ~3MB JS per task queue, and on cold start it bundles + # several queues — pushed peak RSS past 2Gi → OOMKill mid-NestJS init. resources = { requests = { cpu = "100m" - memory = "256Mi" + memory = "512Mi" } limits = { - memory = "2Gi" + memory = "4Gi" } }