First, I would do a complete RAM test using MemTest86:
http://tinyurl.com/98gk
It's a free download to create a bootable diskette or CD. The test will take several hours to run (sometimes four or more). Once it is done you will know if the problem lies with the RAM or not.
Next, here's a free CPU Stability tester:http://tinyurl.com/y2herj
and here is a more involved tester - Prime95:
http://tinyurl.com/yz79an
Your situation could be caused by an over-heating processor. Make sure all the fans (specially the processor fan) are working properly and there is adequate ventilation in the case. One way to check is to run with the case open to see if the issue goes away or lessens.
I hope this helps.
Please let me know.
[It is greatly appreciated if you tag all useful responses as 'Helpful' by opening those posts and clicking the 'Mark Helpful' button at the bottom. That way, people with a similar situation in the future will be able to quickly see what ultimately helped. Thanks.]