mirror of
https://github.com/iio612/immich-native.git
synced 2026-04-17 20:01:06 +00:00
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:
@@ -12,6 +12,9 @@ if ! command -v pnpm >/dev/null 2>&1; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Prevent Javascript OOM
|
||||||
|
export NODE_OPTIONS="--max-old-space-size=4096"
|
||||||
|
|
||||||
if [[ "$USER" != "immich" ]]; then
|
if [[ "$USER" != "immich" ]]; then
|
||||||
# Disable systemd services, if installed
|
# Disable systemd services, if installed
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user