diff --git a/ct/openwebui.sh b/ct/openwebui.sh index 9c66fc2a0..f3a8cb42a 100644 --- a/ct/openwebui.sh +++ b/ct/openwebui.sh @@ -64,7 +64,7 @@ function update_script() { fi systemctl stop open-webui.service $STD npm install --force - export NODE_OPTIONS="--max-old-space-size=3584" + export NODE_OPTIONS="--max-old-space-size=6000" $STD npm run build cd ./backend $STD pip install -r requirements.txt -U diff --git a/install/openwebui-install.sh b/install/openwebui-install.sh index 8a2d311d0..703f18a85 100644 --- a/install/openwebui-install.sh +++ b/install/openwebui-install.sh @@ -41,7 +41,7 @@ ENABLE_OLLAMA_API=false OLLAMA_BASE_URL=http://0.0.0.0:11434 EOF $STD npm install --force -export NODE_OPTIONS="--max-old-space-size=3584" +export NODE_OPTIONS="--max-old-space-size=6000" $STD npm run build msg_ok "Installed Open WebUI"