Without actually monitoring your desktop it's hard to say. Could be faulty hardware such as a bad RAM stick. This happens to me and would constantly restart my computer

Or it could be overheating issues. XIV takes up a lot of CPU. Check your Temps to make sure it's not running to hot.

Sorry that's all I could suggest. Good luck!