It takes hours to build thousands of actions with 8 processes when restarting Unreal Engine

Hi, I’m developing some projects on UE 4.27(download on github),
but every time when I enable some plugins in the editor or modify the source code of the engine and restart it, it will take like 3 to 4 hours or longer to build thousands of actions with 8 processes, like this:

Does anyone knows why it takes so long and how to reduce the building time?

Device:
CPU: Intel Core i7-7700
GPU: NVIDIA GeForce GTX 1070
RAM: 32 GB, 2400 MHz

If I recall correctly, rebuilding the engine after making changes to the source takes a painfully long time… Like building from scratch. How much ram do you have installed?

Yeah, it’s like building from scratch.
I have 32 GB RAM.