I'll almost guarantee it's overheating, especially if you have to wait a little while before it'll restart.
1. Open the case and clean the processor fan.
2. Set the laptop on a cooling tray, you can buy them from ebay for around £8.
This worked for me.