Either bad memory or an overheating issue.
Does it make any beeping noises when it turns off?