fix(runtime): bound build memory and parallelism

This commit is contained in:
2026-08-04 16:18:45 +00:00
parent cf0d18f017
commit 41214b03df
5 changed files with 47 additions and 2 deletions
+3
View File
@@ -10,6 +10,9 @@ RUNTIME_MEMORY_LIMIT=4g
RUNTIME_MEMORY_SWAP_LIMIT=4g
RUNTIME_CPU_LIMIT=4
RUNTIME_PIDS_LIMIT=256
# Bound Node/Rolldown build parallelism inside the runtime container.
RUNTIME_NODE_OPTIONS=--max-old-space-size=1536
RUNTIME_RAYON_NUM_THREADS=2
# Optional smoke-only limits used with compose.smoke.yaml (maximum supported defaults shown).
# SMOKE_RUNTIME_MEMORY_LIMIT=4g
# SMOKE_RUNTIME_MEMORY_SWAP_LIMIT=4g