From 852b1c0cf20b3c385fc695dbc2aaffe4ea42cd27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Thom?= Date: Sun, 27 Oct 2024 23:27:12 +0100 Subject: [PATCH] Add max-old-space-size in openwebui.sh --- 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