mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 23:21:44 -05:00
[PR #9622] [CLOSED] Build improvement: added NODE_OPTIONS for memory management #22397
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/9622
Author: @ashm-dev
Created: 2/7/2025
Status: ❌ Closed
Base:
dev← Head:feat-node-build📝 Commits (1)
0edf0bdAdded NODE_OPTIONS to manage memory in build📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
Dockerfile(+2 -1)📄 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:
devbranch.Changelog Entry
Description
Added the environment variable NODE_OPTIONS="--max-old-space-size=8192" in the Dockerfile to increase available memory during frontend build.
This helps prevent out-of-memory issues when compiling on resource-limited machines.
The parameter controls the amount of memory allocated by V8 for the old generation of objects (heap).
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.