It definitely sounds like an overheating problem if the computer actually shuts down on its own.