Unreal 5 fps slows down the longer it is open until it crashes

go to Task Manager and open the Performance tab

what does it look like when the editor is having low framerate?