Navigation Menu

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

PERF: Adjust node memory threshold for assets:precompile #19040

Merged
merged 1 commit into from Nov 15, 2022

Conversation

davidtaylorhq
Copy link
Member

Previously we were forcing node's max-old-space-size to be 2GB. This override was added in a01b1dd to avoid issues caused by a lower default node heap_size_limit on machines with less memory.

This commit makes that max-old-space-size override more specific so that it only applies to machines with less memory. Other machines will go use Node's defaults.

The override is also lowered to 1GB. This is still high enough for the build to complete, while reducing memory usage.

https://meta.discourse.org/t/245547

Previously we were forcing node's max-old-space-size to be 2GB. This override was added in a01b1dd to avoid issues caused by a lower default node heap_size_limit on machines with less memory.

This commit makes that `max-old-space-size` override more specific so that it only applies to machines with less memory. Other machines will go use Node's defaults.

The override is also lowered to 1GB. This is still high enough for the build to complete, while reducing memory usage.

https://meta.discourse.org/t/245547
@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/ember-is-huge-risks-failure-oom-on-minimum-instance-size/245547/5

@davidtaylorhq davidtaylorhq merged commit ca72d8d into main Nov 15, 2022
@davidtaylorhq davidtaylorhq deleted the ember-build-memory branch November 15, 2022 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants