-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Netlify deploy using Webpack@5 OOMs #4843
Comments
Unfortunately, this is a fairly common problem for large projects using webpack. At the moment (more as a workaround than a solution), I would suggest increasing the memory limit, something like this:
Perhaps you want replace |
Not a bug, just a memory allocation issue. It's normal for large sites to require more nodejs memory, particularly as webpack 5 does more things than webpack 4 (like the new caching system etc) Will be fixed in jestjs/jest#11516 |
🐛 Bug Report
After jestjs/jest#11266 the website no longer deployed successfully, see e.g. https://app.netlify.com/sites/jestjs/deploys/60acb00d26f4ce00073f7557.
After reverting in jestjs/jest@a832dc3 it deployed successfully: https://app.netlify.com/sites/jestjs/deploys/60acbc3315bb2e0008c47fba
Have you read the Contributing Guidelines on issues?
Yup
To Reproduce
Not sure, probably try to build Jest's website using
beta.0
?Expected behavior
It should not OOM
Actual Behavior
The build OOMs
Your Environment
2.0.0-beta.0
Reproducible Demo
See linked Netlify logs
The text was updated successfully, but these errors were encountered: