Add max-old-space-size in openwebui.sh (#3993)

This commit is contained in:
Håvard Gjøby Thom 2024-10-27 23:36:01 +01:00 committed by GitHub
parent 0340aec142
commit 28896707bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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