Skip to main content

Error ENOMEM: not enough memory node.js

Comments

5 comments

  • cPanelLauren
    HI @gildas Are you using CloudLinux with memory limits imposed on the user? Also, have you checked your actual memory usage when this occurs? free -m
    Thanks!
    0
  • gildas
    Hello, Thank you for your reply Limitations memory is set up on cloudlinux (limitation: PMEM), but by increasing it I always have the same error when launching this command. when the error: ENOMEM: not enough memory, scandir is present, the free -m command does not indicate a lack of memory
    0
  • cPanelLauren
    Hi @gildas I don't know if it would be related but what's the php memory limit set to for the account and is anything logged to the apache error logs? Thanks!
    0
  • Juan Carlos Nava
    Hi @gildas I don't know if it would be related but what's the php memory limit set to for the account and is anything logged to the apache error logs? Thanks!

    Hello, i have the same problem, but i think that is not "php" or "apache" problem, we are talking about NODE. Some suggestions?
    0
  • cPanelLauren
    Is anything output to the cPanel error logs /usr/local/cpanel/logs/error_log , apache error logs /etc/apache2/logs/error_log or /var/log/messages?
    0

Please sign in to leave a comment.