Prince of Persia locking up after a few minutes of playing

This has been an on going issue. Everytime I go to play Prince of Persia on my pc, within about 7 minutes of gaming. The game completely freezes. After I close it out with task manager, everything else crashes on me. I have a feeling the problem might be in the ram. Not sure on that yet. Any soultions to fix this issues? Specs:

Case: NZXT Lexa S Mid-Tower

PSU: Raidmax Hybrid 2 730Watt PSU

Mobo: Asus M4A77D

CPU: AMD Athlon II x3 450- Unlocked to Phenom II x4 B50 and overclocked to 3.7 Ghz

CPU Cooler: Thermaltake Duorb CPU Cooler

GPU: Sapphire Radeon HD 6790 1GB GDDR3

RAM: 4GB 2X2 PQI 800 MHz Dual Channel Memory

Fan Controller: NZXT Sentry 2

Sound Card: Creative Labs Sound Blaster Audigy SE

2x Logisys 120MM Blue LED Case Fans

1x Eagletech PSU Fan (salvaged it)

1X NZXT Fan

Head Set: TekNmotion Pulsewave 2 PC gaming headset

Keyboard: Logitech G510 Gaming Keyboard

Mouse: Cyber Snipa Silencer Gaming Mouse

Monitor: ASUS MS228 21.5 Inch

I would think it's a software error, not a hardware one. If you wanna test your ram, get some bechmarking program and stress test it, if windows crashes, you've found your problem. Like I said, I highly doubt it's related to hardware.