Your system has run out of application memory / no swap file
Ever since I upgraded my OS boot drive to an SSD running via external USB3 I'm constantly getting "Your system has run out of application memory" errors. This is a late 2012 iMac with 16 GB ram running the latest os with over a TB of free disk space. I noticed that the "Swap Used" under Memory in the Activity Monitor is 0 bytes. I tried the "sudo diskutil mount -mountPoint /private/var/vm disk2s4" (put in my correct external SSD disk number) found here: https://discussions.apple.com/thread/8202632 but it had no effect.
Any suggestions? Thanks!