Could not allocate memory after adding Windows Platform

I use MacOS editor and I wanted to make a windows build. I added windows module.
Then it started the editor and it gave the following error:

Could not allocate memory: System out of memory!
Trying to allocate: 18446734667731172010B with 16 alignment. MemoryLabel: TempOverflow
Allocation happened at: Line:156 in ./Runtime/Core/Containers/Allocators.h

I can’t even report a bug because bug reporter gets stuck in a stage like “packing files” for minutes.

Anyone knows how to resolve this?