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) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nn3VgQk9iwEGgyx6QJ2NvE
This commit is contained in:
2026-07-19 00:42:29 +02:00
parent 4ce7beea9e
commit 1c06ef00bd
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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