From 1c06ef00bd397384c9ac5301c2edfa917dfc8df4 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Sun, 19 Jul 2026 00:42:29 +0200 Subject: [PATCH] n8n: raise memory 512M -> 1536M (V8 heap OOM proven during validation) n8n 2.31.3 died on a fresh deploy under the 512M limit: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory Note the container still reported *healthy* while the Node process was crashing, so docker health alone did not catch this -- the log scan did. Campaign 7 catalog sweep. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01Nn3VgQk9iwEGgyx6QJ2NvE --- templates/n8n/.felhom.yml | 4 ++-- templates/n8n/docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/n8n/.felhom.yml b/templates/n8n/.felhom.yml index cb728af..6ea6264 100644 --- a/templates/n8n/.felhom.yml +++ b/templates/n8n/.felhom.yml @@ -11,8 +11,8 @@ slug: "n8n" # --- Resource hints (displayed on deploy screen) --- resources: - mem_request: "150M" - mem_limit: "512M" + mem_request: "512M" + mem_limit: "1536M" pi_compatible: false needs_hdd: false diff --git a/templates/n8n/docker-compose.yml b/templates/n8n/docker-compose.yml index 671c93c..e1ddc4e 100644 --- a/templates/n8n/docker-compose.yml +++ b/templates/n8n/docker-compose.yml @@ -25,7 +25,7 @@ services: deploy: resources: limits: - memory: 512M + memory: 1536M healthcheck: test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:5678/healthz"] interval: 30s