# infinite loop when cooking project

**URL:** <https://forums.unrealengine.com/t/infinite-loop-when-cooking-project/795316>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** packaging-and-cookin, unreal-engine, editor, question\
**Created:** [March 21, 2023, 2:51am UTC](https://forums.unrealengine.com/t/infinite-loop-when-cooking-project/795316 "2023-03-21T02:51:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dincosan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dincosan/32/1015002_2.png) [@Dincosan](https://forums.unrealengine.com/u/Dincosan)\
**Post date:** [March 21, 2023, 2:51am UTC](https://forums.unrealengine.com/t/infinite-loop-when-cooking-project/795316/1 "2023-03-21T02:51:39Z")

</div>

![Captura de pantalla (538)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/4/204d699c26904e4ed1bb43685286c8caafbc8cbf.png)  
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.  
 ![Captura de pantalla (539)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/1/e/d1eff067760c29dda3a762ffcbeccd7546c41f0b.png)

---

<div class="post-metadata">

**Author:** ![Dincosan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dincosan/32/1015002_2.png) [@Dincosan](https://forums.unrealengine.com/u/Dincosan)\
**Post date:** [March 21, 2023, 3:05am UTC](https://forums.unrealengine.com/t/infinite-loop-when-cooking-project/795316/2 "2023-03-21T03:05:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![UnrealQW](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnrealQW](https://forums.unrealengine.com/u/UnrealQW)\
**Post date:** [July 9, 2024, 10:31pm UTC](https://forums.unrealengine.com/t/infinite-loop-when-cooking-project/795316/3 "2024-07-09T22:31:07Z")

</div>

UE 5.4.2 here. 32 Gb RAM. Project’s Content folder is 17 Gb. Infinite loop while cooking.

Solved by closing all apps and running RAMMap64.exe just before cooking to free as much memory as possible (chose Empty in RAMMap).
