C1W4 Lab 3 - Error When Trying to Clean Memory

I keep running into an error when attempting to run the last cell. Specifically, the code I’m trying to run is:

import os, signal
os.kill(os.getpid(), signal.SIGKILL)

Google Colab states that the notebook “crashed for an unknown reason”.

Please use this snippet to delete the current runtime on colab:

from google.colab import runtime
runtime.unassign()