Why is garbage collection is doing this? (see logs) Build times are much slower.

I have made a fresh project with a very simple scene.
It’s the same problem with repeating GC.
Checked task manager while packaging. - 95% memory use, 2% GPU use, 35% CPU use, very little use of disk (so I’m wondering if VM pagefile is not being used).