From 0db71a4907dab4e7cedb19d46986c1c7af19551b Mon Sep 17 00:00:00 2001 From: vhsdream Date: Wed, 18 Feb 2026 18:32:20 -0500 Subject: [PATCH] Try NODE_OPTIONS --- ct/zerobyte.sh | 3 ++- install/zerobyte-install.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ct/zerobyte.sh b/ct/zerobyte.sh index af742db6a..67f21ee67 100644 --- a/ct/zerobyte.sh +++ b/ct/zerobyte.sh @@ -41,9 +41,10 @@ function update_script() { CLEAN_INSTALL=1 fetch_and_deploy_gh_release "zerobyte" "nicotsx/zerobyte" "tarball" msg_info "Building Zerobyte" + export NODE_OPTIONS="--max-old-space-size=3072" cd /opt/zerobyte $STD bun install - $STD bun --smol run build + $STD bun run build msg_ok "Built Zerobyte" msg_info "Restoring Configuration" diff --git a/install/zerobyte-install.sh b/install/zerobyte-install.sh index 7fd6cfe88..1f3a93e99 100644 --- a/install/zerobyte-install.sh +++ b/install/zerobyte-install.sh @@ -48,8 +48,9 @@ cd /opt/zerobyte export VITE_RESTIC_VERSION=$(cat ~/.restic) export VITE_RCLONE_VERSION=$(cat ~/.rclone) export VITE_SHOUTRRR_VERSION=$(cat ~/.shoutrrr) +export NODE_OPTIONS="--max-old-space-size=3072" $STD bun install -$STD bun --smol run build +$STD bun run build msg_ok "Built Zerobyte" msg_info "Configuring Zerobyte"