Sounds like you had a stick of RAM go bad on you then. Most places will replace any faulty RAM for free as most RAM has a lifetime warranty on it. Bad RAM is one of the most common culprits of a kernel panic, which is what the gray screen telling you to restart is.

MacRumors attracts a broad audience
of both consumers and professionals interested in
the latest technologies and products. We also boast an active community focused on
purchasing decisions and technical aspects of the iPhone, iPod, iPad, and Mac platforms.