Process killed by OS or overseeingprocess suggests RAM issues

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the dumb-mistakes-and-gotchas category.

Last Updated: 2024-11-23

When processes suddenly fail with killed suspect RAM issues

I was install pytorch on an EC2 instance with only 1GB of RAM. This package, when downloaded with pip was over 750mb and the process kept getting killed.

When I upgraded the EC2 instance to 4GB of ram, the problem went away.