It could just be a seating problem, which you fixed when you reseated the RAM. I built my own computer a little more than a year ago, and after a few weeks my computer started randomly restarting -- maybe every few days, it would just do a hard reboot with no warning. As a first troubleshooting step, I opened the case and reseated every component/connection. It's been running problem free for about a year after that.