You need to fix the RAM problem first and then see if the problem still exists. Trying to diagnose two fauolts at the same time is a pointless! Best way to test the RAM is by substitution. If you have more than one RAM stick, you could try testing them one at a time to see if the faults apply to one stick or more (but I'd still recommend replacing them in pairs to be sure they are of the same spec)