First of all, memory problem: try another memory.
Driver problem: If you reinstall the driver of the graphics card, it may be that the graphics card is not cooling well.
CPU problem: It's not that your CPU fan is not good, and the temperature is too high.
If this happens every hour, it is most likely a driver problem and a CPU problem.