Having crash issue

So I’m having this issue in ue 4.27 & 5 that causes my CPU usage to slowly rise until it eventually freezes and crashes. This does not happen in 4.26 or below.