Why does my iMac freezes up intermittently?
It could be that your iMac freezes because some component is getting too hot (in my opinion  Apple’s temperature thresholds are not setup for reliability, but rather for “comfort”). 

You can list temperature sensors with:


iStat Pro (free, discontinued widget, but runs on High Sierra without a hitch)
Macs Fan Control (paid app)