Verify under System > Advanced system settings > Startup and Recovery that you have memory dumps enabled, but yes I also thing it's probably a heating issue. Typical overheating behavior is, crank up fan speed under load, and if the CPU is still getting to hot, the CPU will get throttled down which would manifest as "lag". If it still can't cool down enough the system will protect itself and shut off.