Extremely slow c++ class creation/build

I’ve moved my projects to UE5, but c++ class creation/build seems to be extremely slow ( taking minutes to complete ).
Some logs:

FullVSLog.txt (106.9 KB)
RiderCompileLog.txt (10.4 KB)
VSCompileLog.txt (10.1 KB)

Could someone help me?
Thank you!

did you find a solution?

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

my laptop is old, but it has 16 GB ram, visual studio compile other projects rapidly, but when i compile unreal it takes forever to compile a single cpp file, i think for some reason it freezes or halts in between. I dont see my CPU doing anything, it’s like 0-5 % most of the time.

I am using 2019 enterprise. I’ll try 2022 preview thanks

To really cope with this you need to install a 64GB pagefile.sys on a Solid State Device.
try defragment the system drive
Installing an SSD as your project space with the VS2022 community, free and building UE5 EA as above will help immensely

I’ll increase my pagefile on my SSD and see if it helps, thanks