If the ram turns out ok, I would then check the temps. You could be overheating. Download a program called HWMonitor and use that to check your temps.
If there is errors with the memory, you would need to find the faulty stick if you have more than one stick of memory and remove it or just install different memory.