Unreal Engine 5.1 keeps crashing constantly on my machine. Is there a fix?

In my case it was due to insufficient memory.

I have total of 64GB RAM.

UE5 was using about 32 Gigs and rest of the programs were using 32Gigs due to which the memory wsa full and UE5 kept crashing

version: UE 5.5.3