PC always crashing during gaming

Jun 5, 2018
3
0
10
Hey everyone.So recently my PC started crashing after 30 minutes of gaming.In the beginning it would always instantly boot up but now it just enters an infinite loop of trying to turn on.You can hear the fans spinning for a second and then they just stop and this doesnt stop until I pull the PCs cable out of the plug.If anyone has an idea why it is doing this help would be very appreciated.Specs are the following

OS:Win 7 SP1
Motherboard:H81M-S
CPU:Intel Celeron G1840 2,8 GHZ
GPU:ASUS GTX 1050 2GB OC
RAM:Kingston 4GB DDR3 1333MHZ
PSU:I cant seem to find who made it,all I know that it is an OEM 500W
HDD:Samsung HD321HJ 320GB

The GPU is 7 months old,CPU and motherboard are 3 years old and everything else 6 and a half
years old.

PS. First time posting on this site,wasnt sure under which category I should post this.
 
You could run some kind of diagnostic test to see if maybe any component is damaged or go into Event Viewer and see why it crashed.

You could remove the Ram out of your motherboard and place it back.

Next thing did you update all your drivers?

If none of these works, it could be your PSU.
 
I ran Windows memory diagnostic and it showed no errors.Event viewer shows Kernel 41 errors everytime it crashes.All drivers are up to date.I will try removing the RAM when I get back home
 
Update:Well I tried the RAM thing and wanted to test if it works and shortly after that my PSU exploded.Welp atleast I know what was causing the issue.Is my PC completely trashed or do I just need to buy a new PSU