Prevent Javascript OOM

On a 8GB machine, heap_size_limit is set too low, causing installation
failures.

Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
This commit is contained in:
Juhyung Park
2025-11-23 23:56:11 +09:00
parent 454a2e74b1
commit d25c3b4813

View File

@@ -12,6 +12,9 @@ if ! command -v pnpm >/dev/null 2>&1; then
exit 1
fi
# Prevent Javascript OOM
export NODE_OPTIONS="--max-old-space-size=4096"
if [[ "$USER" != "immich" ]]; then
# Disable systemd services, if installed
(