The applications you have mentioned make good use of Graphics Capabilities and CPU that might be the reason your computer is getting stuck or restarted. Or there is a possibility some other applications are utilizing resources to its maximum. Please check in the "Resource Monitor" which of the applications is causing maximum usage of resources. Try to stop the applications which are draining more resources and check if the computer is working normally. To access "Resource Monitor" click "Start" and type "resmon" in the Run Dialog Box then hit Enter.