Skip to content

Commit ee3872e

Browse files
OpenWebUI: Update NODE_OPTIONS to increase memory limit (#7919)
1 parent f6ca818 commit ee3872e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ct/openwebui.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function update_script() {
6464
fi
6565
systemctl stop open-webui.service
6666
$STD npm install --force
67-
export NODE_OPTIONS="--max-old-space-size=3584"
67+
export NODE_OPTIONS="--max-old-space-size=6000"
6868
$STD npm run build
6969
cd ./backend
7070
$STD pip install -r requirements.txt -U

install/openwebui-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ ENABLE_OLLAMA_API=false
4141
OLLAMA_BASE_URL=http://0.0.0.0:11434
4242
EOF
4343
$STD npm install --force
44-
export NODE_OPTIONS="--max-old-space-size=3584"
44+
export NODE_OPTIONS="--max-old-space-size=6000"
4545
$STD npm run build
4646
msg_ok "Installed Open WebUI"
4747

0 commit comments

Comments
 (0)