Sounds like the CPU or graphics card overheating. Check to see if all fans are working, also buy an "Air Duster" and give the inside of your case a spring clean. May also be a good idea to install another case fan,
AMD Radeon Adrenalin release date, new features, compatible graphics cards
Inside the iMac Pro - Apple's most powerful Mac yet
iMac Pro release date, UK price & specs
Comment nettoyer Windows et optimiser son PC gratuitement ?