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:
@@ -11,8 +11,8 @@ slug: "n8n"
|
|||||||
|
|
||||||
# --- Resource hints (displayed on deploy screen) ---
|
# --- Resource hints (displayed on deploy screen) ---
|
||||||
resources:
|
resources:
|
||||||
mem_request: "150M"
|
mem_request: "512M"
|
||||||
mem_limit: "512M"
|
mem_limit: "1536M"
|
||||||
pi_compatible: false
|
pi_compatible: false
|
||||||
needs_hdd: false
|
needs_hdd: false
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ services:
|
|||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 512M
|
memory: 1536M
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:5678/healthz"]
|
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:5678/healthz"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|||||||
Reference in New Issue
Block a user