PMS cannot crash your Pi if it’s a healthy system. It can only trigger a defect in your setup (e.g. overheating). That’s why you have to identify what’s wrong with your hardware.
Till you have found the hardware problem it’s always recommended to disable the CPU hungry tasks, as e.g. discussed here: