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 more info about OOM build failiure [docs] #2060

Merged
merged 1 commit into from
Jun 27, 2017

Conversation

GAumala
Copy link
Contributor

@GAumala GAumala commented May 1, 2017

In the section about npm run build fails in troubleshooting added more
info about memory usage of the build script and a link to a tutorial for
adding more swap space as a viable solution.

Today I tried to create a build in my cheap 512MB Digital Ocean
Ubuntu server and I ran into issues similar to #1026 and #1493.
After running the command while having the system monitor open, I
noticed that it uses hundreds of megabytes of memory. The
docs do mention this issue, but what really helped me was a tutorial
that I found online for adding more swap space to the server. It is for
Ubuntu 14.04 but it does work on newer versions and it should be still
useful for any other Linux distro that uses systemd. I think that it would
be good to add it to the docs.

Also, since #1496 it no longer fails silently, so I decided to change the title
accordingly along with the console message so that users can easily find it.

@GAumala GAumala changed the title Add more info about build failiure [docs] Add more info about OOM build failiure [docs] May 1, 2017
@GAumala GAumala force-pushed the build-fails-docs branch from 5a60403 to 17c8ae7 Compare May 1, 2017 15:16
In the section about npm run build fails in troubleshooting added more
info about memory usage of the build script and a link to a tutorial for
adding more swap space as a viable solution.
@gaearon
Copy link
Contributor

gaearon commented Jun 27, 2017

Thanks!

@gaearon gaearon added this to the 1.0.8 milestone Jun 27, 2017
@gaearon gaearon merged commit 117d82b into facebook:master Jun 27, 2017
@gaearon gaearon mentioned this pull request Jun 28, 2017
romaindso pushed a commit to romaindso/create-react-app that referenced this pull request Jul 10, 2017
In the section about npm run build fails in troubleshooting added more
info about memory usage of the build script and a link to a tutorial for
adding more swap space as a viable solution.
wmonk referenced this pull request in wmonk/create-react-app-typescript Aug 7, 2017
In the section about npm run build fails in troubleshooting added more
info about memory usage of the build script and a link to a tutorial for
adding more swap space as a viable solution.
morgs32 pushed a commit to BrickworkSoftware/create-react-app that referenced this pull request Sep 1, 2017
In the section about npm run build fails in troubleshooting added more
info about memory usage of the build script and a link to a tutorial for
adding more swap space as a viable solution.
@lock lock bot locked and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants