Either it's a bug in the program working in combination with your system configuration
I'd think that is more likely, especially if it's only happening with that game. If the RAM is faulty normally a spontaneous reboot occurs when the affected area is accessed, in my experience anyway.