I have the similar problem before. It turns out one of the memory slot has a loose solder in one of its legs. You memory chip may be still good.