Adjust max-old-space-size in openwebui-install.sh (#3992)

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

View file

@ -52,7 +52,7 @@ ENABLE_OLLAMA_API=false
OLLAMA_BASE_URL=http://0.0.0.0:11434
EOF
$STD npm install
export NODE_OPTIONS="--max-old-space-size=4096"
export NODE_OPTIONS="--max-old-space-size=3584"
$STD npm run build
msg_ok "Installed Open WebUI"