-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Next build raises no error on OOM failure #282
Comments
I have the same problem. Is there any temporary way to solve this? |
Currently the process needs to have enough memory to build. May be around 1GB. (Or enable swap). |
I built my next app on my EC2, which has only 1GB memory. Sometimes it succeed but sometimes doesn't, so I would like to build it on local and push the |
@Larry850806 yes. That's a pretty good way to do it. |
I'm going to close this as next build should now give proper error messages for most errors. There was a bug where |
If
next build
fails on a deployment server which memory limits (think Heroku, Doku, or Flynn), it fails without reporting anything. This makes debugging SUPER hard.As a note, at least the
now
deployment process reports this, as your runner (@zeit/ace) does watch for child-process crashes:The text was updated successfully, but these errors were encountered: