Skip to content

Conversation

@rschamp
Copy link
Contributor

@rschamp rschamp commented Sep 20, 2019

This flag essentially configures how much memory Node can use. If it’s too low, then Node processes may hang as Node spends time garbage collecting. Increasing it allows more memory to be used before garbage collection is necessary. Travis VMs have 7.5GB of memory, so set the limit to just below that to avoid running out of memory completely.

Resolves #5186. @fsih saw a webpack build hang until increasing this limit there. So increase it now to avoid this failure in the future.

Also I reordered the variables to be alphabetical just so there was some system there.

@rschamp rschamp added this to the September 2019 milestone Sep 20, 2019
@rschamp rschamp requested a review from fsih September 20, 2019 17:32
This flag essentially configures how much memory Node can use. If it’s too low, then Node processes may hang as Node spends time garbage collecting. Increasing it allows more memory to be used before garbage collection is necessary.  Travis VMs have 7.5GB of memory, so set the limit to just below that to avoid running out of memory completely.
@rschamp rschamp assigned rschamp and unassigned fsih Sep 20, 2019
@rschamp rschamp merged commit 7d01844 into scratchfoundation:develop Sep 20, 2019
@rschamp rschamp deleted the max-old-space-size branch September 20, 2019 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timeout during travis build

2 participants