If you installed the OS with bad ram it can cause all sorts of weird issues... I fought with something similar when I first built my machine.
As everyone has suggested above, run each stick through a full test individually to make sure they are good...
From there you can test to make sure all the slots are good by trying different configurations for the ram.