From 312667d04bb6dcf741b2a0681c4e5f89979af8ae Mon Sep 17 00:00:00 2001 From: yangxiaolang <1810849666@qq.com> Date: Tue, 7 Jul 2026 16:28:57 +0800 Subject: [PATCH 1/2] Limit build node heap --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 49bbf24a4..8d1ea2217 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ }, "scripts": { "dev": "doom dev", - "build": "doom build", + "build": "NODE_OPTIONS=--max-old-space-size=2560 doom build", "new": "doom new", "serve": "doom serve", "translate": "doom translate", From d38e2cfe2063052051d7ac1ac5af0f1e6906bd41 Mon Sep 17 00:00:00 2001 From: yangxiaolang <1810849666@qq.com> Date: Tue, 7 Jul 2026 16:46:48 +0800 Subject: [PATCH 2/2] Increase docs build memory --- .build/build.yaml | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.build/build.yaml b/.build/build.yaml index 1cdbc8ecd..35a7cf708 100644 --- a/.build/build.yaml +++ b/.build/build.yaml @@ -71,10 +71,10 @@ spec: resources: limits: cpu: 4 - memory: 4Gi + memory: 8Gi requests: cpu: 2 - memory: 4Gi + memory: 8Gi script: > # set -x diff --git a/package.json b/package.json index 8d1ea2217..49bbf24a4 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ }, "scripts": { "dev": "doom dev", - "build": "NODE_OPTIONS=--max-old-space-size=2560 doom build", + "build": "doom build", "new": "doom new", "serve": "doom serve", "translate": "doom translate",