Exactly. Both of these problems could be due to faulty cooler instalation. Check if the cooler is slightly tilted, which in turn makes your CPU tilted, which again, could cause some of the pins having bad connection. And because all of that, your memory may not work properly in all slots.