My first guess would be either a bad RAM stick, or a bad power supply. Hard to test the power supply, but you could run Memtest to test the memory, but it (can) be a long process. I have seen bad memory show up after hours and hours of testing.
Another possibility is that it is having heat issues. Install CoreTemp and log the temps. see if it is getting too hot.