Fixing error “Killed” with Django

I found that a Python app I was installing died with the error message “Killed”.

Apparently this is a common behavior, if the machine doesn’t have enough RAM.

There are two apparently standard commands where I saw this:

python3 manage.py migrate
python3 manage.py runserver

For the app I was running (laice1 ), I found experimentally that the machine needs to be a 2 GB VM.

  1. https://github.com/kendricktan/laice []