Increase NODE_OPTIONS max memory to 8192

This commit is contained in:
Tobias 2025-11-12 14:17:30 +01:00 committed by GitHub
parent a6f0a333a5
commit 02d51a9e18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,7 +22,7 @@ fetch_and_deploy_gh_release "domain-locker" "Lissy93/domain-locker"
msg_info "Building Domain-Locker" msg_info "Building Domain-Locker"
cd /opt/domain-locker cd /opt/domain-locker
npm install --legacy-peer-deps npm install --legacy-peer-deps
export NODE_OPTIONS="--max-old-space-size=6144" export NODE_OPTIONS="--max-old-space-size=8192"
cat <<EOF >/opt/domain-locker.env cat <<EOF >/opt/domain-locker.env
# Database connection # Database connection
DL_PG_HOST=localhost DL_PG_HOST=localhost