From 28896707bcb61e784125860bb366588573fa7112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Gj=C3=B8by=20Thom?= <34199185+havardthom@users.noreply.github.com> Date: Sun, 27 Oct 2024 23:36:01 +0100 Subject: [PATCH] Add max-old-space-size in openwebui.sh (#3993) --- ct/openwebui.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/openwebui.sh b/ct/openwebui.sh index 051c42f6..daee783a 100644 --- a/ct/openwebui.sh +++ b/ct/openwebui.sh @@ -67,6 +67,7 @@ then fi systemctl stop open-webui.service npm install &>/dev/null +export NODE_OPTIONS="--max-old-space-size=3584" npm run build &>/dev/null cd ./backend pip install -r requirements.txt -U &>/dev/null