When temperatures outside are high (80+ degrees fahrenheit), and I'm playing a game as well as having firefox and other things open (basically high loads), my computer will sometimes freeze up and power to all of my peripherals goes out, but the computer doesn't actually shut off until I hit the button.
I regularly monitor my CPU and GPU temperatures, and my CPU hovers between 35-45 degrees celsius while my GPU hovers between 45-55 degrees celsius. Someone mentioned to me that it could be memory failure, so I ran a memtest, but it didn't come up with any errors through 1 and a half passes.
I also just replaced my PSU which was my oldest piece of hardware so that can't possibly be the issue since it was happening before I replaced it.
Any ideas on what could be causing my freezes would be greatly appreciated.