infinite loop when cooking project


I have this problem when cooking my project and I changed these parameters in the engine to 4GB and it keeps giving me an eternal loop where it never finishes cooking.

I managed to solve it add the following in defaulteditor.ini of my project and it worked
[CookSettings]
MemoryMinFreeVirtual=1024
MemoryMinFreePhysical=512