iMac 2015 turns off automatically when working in AE
I recently upgraded to Big Sur a couple months ago on my 2015 imac 27" and now randomly the mac will automatically shut down while working in Adobe AE (After Effects). Most the time its while rendering or sometimes doing other important or editing tasks. Then all of sudden... BAM... computer just off... black screen. It literally turns off. This has never happened before. And it ONLY happens while working in AE and since the upgrade. Coincidence? I can't imagine. But seems like maybe OS issue?? Any ideas?
Thanks in advance.
Brian
iMac 27″, macOS 11.2