'Nestjs exits with "killed" on EC2

exits with killedMy app exits with the message "killed" without any other reason or stack trace. PS: It runs well locally. Please help



Solution 1:[1]

I discovered the problem was memory...

The server didn't have enough memory to start the nestjs process.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ndubuisi Jr