|Sounds like it may be overheating. It shuts itself down to protect the processor. |
Open the case with the computer unplugged and blow out everything, including the power supply (both ends). Use canned compressed air or a compressor. DO NOT use a vacuum cleaner. No need to dismantle anything.
You can check the temperatures and voltages in real time by using HWMonitor. Get it at the link below.