-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
error Command failed with exit code 137 #1177
Comments
P.S. Someone said it's caused by the memory limit of the machine :( |
That’s right, this is provoked by linux’s oom killer. Try to increase the ram or the swap. |
How much should it be increased to if 1GB is not enough? |
@thinsoldier I tried a 4 GB machine, still not enough :-/ |
@mashirozx I encountered the error while running the new vue-ui which uses some kind of server to serve its gui and then webpack dev server to serve my project. At 512 megs the dev server failed to start, even with the vue-ui gui turned off. With yarn instead of npm at 512 megs both servers started but if I navigated within the vue-ui gui site the dev server would crash. At 1GB I would see errors mentioning memory in the terminal of the dev server but it wouldn't crash. It seems that 2gb is enough for me but I think the switch from npm to yarn might have something to do with it. |
Thanks guys, i needed to increase the swap size! |
I got this when compiling an Angular 5 app, just changed the memory on my Docker settings to 2GB and that did the trick. |
我虚拟机给了8G内存 还是会报错 请问有解决方案嘛 |
Had a similar issue on Mac while running a unit testing job for an Angular 4 app (with karma as test framework), i had to increase the space allocation for a VirtualBox (one of the tools through which docker is orchestrated on a mac) instance from 1024MB storage limit to 2048MB. I followed the way described in https://stackoverflow.com/a/36982696/4997994. |
check your ram if it's used by other things |
Here when install it, it shows:
On Ubuntu 17.04, with: nodejs v8.9.1; yarn 1.3.2; npm 5.5.1
Sorry, I'm new to Node, and the official site had a bad connection in my country, so I need to install StackEdit locally... Thanks,
The text was updated successfully, but these errors were encountered: