The system crashed during an npm install because the LXC container only had 2GB RAM.

  • We need to increase default limits to 4GB.
  • Always add 2GB swap space for node containers.
  • Monitor memory usage during deployments.