Why does UE 5.0 work but UE 5.4 crash on startup?

It seems there is a memory issue but I’m not sure how to fix it. This is the error I am getting now.

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 253] Ran out of memory allocating 18446744073709551615 (17592186044416.0 MiB) bytes with alignment 0. Last error msg: The operation completed successfully…

Ideas?