Answer the question
In order to leave comments, you need to log in
Not enough RAM on npm run watch?
Can't run npm run watch on VPS server with 1GB RAM. Error - the process was reset because there was not enough memory.
Available memory on the server 700-750MB
Lacks literally 100 MB. (If you stop mysql, nginx, php-fpm) then in this case there is enough memory and run watch is executed to the end.
Can I somehow reduce memory usage in npm (there are no extra packages in package.json)?
Answer the question
In order to leave comments, you need to log in
You can also collect it on another machine and transfer it, why do a watch on a remote server at all, usually they do a dev or prod assembly. Somehow there was a situation where the node was not installed, the server was old, you can use CI and you can also pull build artifacts through gitlabCI for example. In general, it is better to increase the place in your case)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question