mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-05 02:42:50 +00:00
OpenWebUI: Update NODE_OPTIONS to increase memory limit (#7919)
This commit is contained in:
committed by
GitHub
parent
f6ca81833e
commit
ee3872e7e1
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user