Symptoms
After clicking the "Run NPM Install" button in "Setup Node.js App," you receive the following error.
Out of memory error may be caused by hitting LVE limits
or "Max data size", "Max address space" or "Max resident set" process limits
Please check LVE limits and process limits. Readjust them if necessary
More info: https://docs.cloudlinux.com/shared/cloudlinux_os_components/#known-restrictions-and-issues
Description
The error occurs when cPanel reaches its memory limit. The maximum amount of memory available to cPanel must be increased.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Run the following command to increase cPsnel's maximum memory usage.
whmapi1 set_tweaksetting key=maxmem value=8192
- Restart the
cpsrvd
service./usr/local/cpanel/scripts/restartsrv_cpsrvd
Comments
0 comments
Article is closed for comments.