OpenWebUI: Update NODE_OPTIONS to increase memory limit (#7919)

This commit is contained in:
Michel Roegl-Brunner
2025-09-26 18:41:58 +02:00
committed by GitHub
parent f6ca81833e
commit ee3872e7e1
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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"