Computers usually shuts down when they are overworked/overheating.

Are you sure you have the minimum requirements?

Make sure your laptop is well ventilated, try aiming a fan at it (or under it).