From 2d68523f893bc8eed2f2ce58a1d75e7435abc7eb Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Fri, 23 Oct 2026 15:48:07 +0200 Subject: [PATCH] proxcenter: skip the type check and lower the build heap (#18090) Upstream added PROXCENTER_SKIP_TYPECHECK for builds from a released tag; the type check alone needs about 3 GB. A 4.6 GB heap on 6 GB of RAM got the build killed. --- ct/proxcenter.sh | 2 +- install/proxcenter-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/proxcenter.sh b/ct/proxcenter.sh index cc626466b..0a2754fa8 100644 --- a/ct/proxcenter.sh +++ b/ct/proxcenter.sh @@ -44,7 +44,7 @@ function update_script() { $STD npm ci --legacy-peer-deps --ignore-scripts $STD npm run build:icons $STD npx prisma generate - NODE_OPTIONS="--max-old-space-size=4608" $STD npm run build + PROXCENTER_SKIP_TYPECHECK=1 NODE_OPTIONS="--max-old-space-size=3072" $STD npm run build msg_ok "Built ProxCenter" msg_info "Migrating Database" diff --git a/install/proxcenter-install.sh b/install/proxcenter-install.sh index 773f5414d..1b9578a74 100644 --- a/install/proxcenter-install.sh +++ b/install/proxcenter-install.sh @@ -24,7 +24,7 @@ cd /opt/proxcenter/frontend $STD npm ci --legacy-peer-deps --ignore-scripts $STD npm run build:icons $STD npx prisma generate -NODE_OPTIONS="--max-old-space-size=4608" $STD npm run build +PROXCENTER_SKIP_TYPECHECK=1 NODE_OPTIONS="--max-old-space-size=3072" $STD npm run build msg_ok "Built ProxCenter" msg_info "Configuring ProxCenter"