I'd go with the RAM, since it's the most likely and is cheap to replace at the moment. First try reseating each of the RAM sticks properly and try booting the computer with only one of them in each slot. Try each stick in all of the slots on its own. It should help you pinpoint which stick is bad. Then you just have to get a replacement.