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 #1073

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sierikov
Copy link

@sierikov sierikov commented May 12, 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.

Copy link

vercel bot commented May 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
it-tools ✅ Ready (Inspect) Visit Preview May 12, 2024 7:11pm

Copy link

sonarcloud bot commented May 12, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant