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

Projects
None yet
3 participants
@GAumala
Copy link
Contributor

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 GAumala:build-fails-docs branch from 5a60403 to 17c8ae7 May 1, 2017

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

@GAumala GAumala force-pushed the GAumala:build-fails-docs branch from 17c8ae7 to deefffa May 1, 2017

@gaearon

This comment has been minimized.

Copy link
Member

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

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details

kellyrmilligan added a commit to kellyrmilligan/create-react-app that referenced this pull request Jun 28, 2017

Merge branch 'master' into serve-app-under
* master: (59 commits)
  Better React Native Web support (facebook#2511)
  Bump dependencies (facebook#2658)
  Minor code style edits to user guide (facebook#2660)
  Don't ask to install webpack for using Styleguidist (facebook#2656)
  Put react-scripts in dependencies, not devDependencies (facebook#2657)
  Razzle added to the alternatives (facebook#2517)
  Warn about large bundle sizes (facebook#2648)
  Add instructions to use source-map-explorer (facebook#1641)
  Ignore "Skipping static resource" message from SW precache (facebook#2645)
  Add React Styleguidist (facebook#2044)
  Update ISSUE_TEMPLATE.md (facebook#2643)
  Add Brackets to launchEditor.js (facebook#2637)
  Updated README (facebook#1931)
  Less passive-aggressive issue template
  Added instruction on how to install Prettier (facebook#2006)
  Fix CLI grammar (facebook#1945)
  Update README.md (facebook#1813)
  Add more info about OOM build failiure [docs] (facebook#2060)
  Update docs with WebSocket proxy information (facebook#2305)
  Add yarn example under "Installing a Dependency" (facebook#2362)
  ...

@gaearon gaearon referenced this pull request Jun 28, 2017

Merged

Changelog for 1.0.8 #2664

romaindso added a commit to romaindso/create-react-app that referenced this pull request Jul 10, 2017

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

Add more info about OOM build failiure [docs] (#2060)
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 added a commit to BrickworkSoftware/create-react-app that referenced this pull request Sep 1, 2017

Add more info about OOM build failiure [docs] (facebook#2060)
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.
You can’t perform that action at this time.