mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-22 09:31:58 -05:00
[PR #7710] [CLOSED] fix: prevent out-of-memory errors in make update #109407
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/7710
Author: @bernadinm
Created: 12/9/2024
Status: ❌ Closed
Base:
main← Head:fix/make_update📝 Commits (2)
2d5a7cffix: chmod by default update_ollama_modelsda85f2ffix: set proper max-old-space-size for make update📊 Changes
2 files changed (+1 additions, -0 deletions)
View changed files
📝
Dockerfile(+1 -0)📝
update_ollama_models.sh(+0 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
mainbranch.make updatecommand no longer runs out of memory during the build process after applying the changes.fix.Changelog Entry
Description
This pull request fixes the issue with the
make updatecommand running out of memory during the build process. Themax-old-space-sizeis increased to 4096 to prevent out-of-memory errors.Added
max-old-space-sizeto 4096 in the Dockerfile.update_ollama_models.shscript.Changed
max-old-space-size.Deprecated
Removed
Fixed
make updatecommand running out of memory during the build process.Security
Breaking Changes
Additional Information
This pull request aims to resolve the issue with the
make updatecommand running out of memory during the build process. The changes include increasing themax-old-space-sizeto 4096 and adding execute permissions to theupdate_ollama_models.shscript. Verified that the changes fix the issue by manually running themake updatecommand and observing the results.Screenshots or Videos
Here are the relevant logs:
These logs show the error that was encountered before making the changes, and the successful build after applying the changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.