Extremely slow c++ class creation/build

I had to upgrade my RAM from 8GB to 16GB, that helped a lot.
Another suggestion is to use Visual Studio 2022 which will help too.

Visual Studio 2022 Preview is 64 bit and compiles and runs UE 5.0 EA approximately 20% FASTER