I am running a Python script that is causing the above error. The unusual thing is this script is running on a different machine and is having no problems.
The diff
sudo du -x -h / | sort -h | tail -40/tmp or /home/user_name/.cache folder if these are taking up a lot of memory. You can do this by running sudo rm -R /path/to/folderStep 2 outlines fairly common folders to delete from (/tmp and /home/user_name/.cache). If you get back other results when running the first command showing you have lots of memory being used elsewhere, I advise being a bit more cautious when deleting from those locations.