Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add-memory-detection-to-dockerfile #28

Open
wants to merge 1 commit into
base: developing/2.0.0
Choose a base branch
from

Conversation

sunnydanu
Copy link
Owner

@sunnydanu sunnydanu commented Oct 26, 2024

This PR fixes the "JavaScript heap out of memory" error (issue #442) encountered during the build process. Now the Dockerfile will dynamically detect the available memory and set it to the --max-old-space-size Node option. It was tested on Raspberry Pi 4GB.

Note: This PR incorporates contributions from upstream PR-#1073 of CorentinTh/it-tools. All original commits and authorship are retained. Some adjustments may have been made for compatibility or bug fixes.

@sunnydanu sunnydanu added the P2 Priority 2 : tech debt label Nov 2, 2024
@sunnydanu sunnydanu enabled auto-merge November 2, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Priority 2 : tech debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants