# Problems cooking large project

**URL:** <https://forums.unrealengine.com/t/problems-cooking-large-project/411063>\
**Category:** Platform & Builds\
**Tags:** Cooking, unreal-engine, question\
**Created:** [December 1, 2017, 5:54am UTC](https://forums.unrealengine.com/t/problems-cooking-large-project/411063 "2017-12-01T05:54:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RyuMaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RyuMaster](https://forums.unrealengine.com/u/RyuMaster)\
**Post date:** [December 1, 2017, 5:54am UTC](https://forums.unrealengine.com/t/problems-cooking-large-project/411063/1 "2017-12-01T05:54:00Z")

</div>

Hey! I have a project with content around ~150gb and many little objects, like 200,000 of them. I have 32GB ram and good powerful PC. I get no errors while I cook, but unreal randomly stucks up on some files, like little meshes I have, and cooks them like forever. CPU usage is high, memory grows, disks writes are made, but this can go on for many hours without any progress. Log just shows typical output, no errors or anythings.

Besides that, I am trying to use iterative build to track the issue, but Unreal always starts from scratch if I use packaging option. If I use ‘File - \> Cook Content for Windows’, iterative seems to work, but oddly, it often processes same files over again.

This is so confusing and frustrating!

Is that only me? Can be the issue that I am running out of memory or something, and that eventually makes it run forever? I started with typical non-iterative builds first, but nothing I change in options help.

I am under Windows 10 x64, Unreal 4.18

---

<div class="post-metadata">

**Author:** ![haisong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@haisong](https://forums.unrealengine.com/u/haisong)\
**Post date:** [February 9, 2018, 3:45am UTC](https://forums.unrealengine.com/t/problems-cooking-large-project/411063/2 "2018-02-09T03:45:31Z")

</div>

add -iterate to your build command

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b7814bd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b7814bd](https://forums.unrealengine.com/u/anonymous_user_2b7814bd)\
**Post date:** [February 9, 2018, 4:06am UTC](https://forums.unrealengine.com/t/problems-cooking-large-project/411063/3 "2018-02-09T04:06:19Z")

</div>

I tried this. I also ended up building using command line. There are no solutions yet. I had to modify source code directly for ‘iterate’ block. Else it would always start from beginning. The issue is that is saves database registry only at the end, hence if that point is not reached, all hopeless. My my direct editor source code modification did the trick.

---

<div class="post-metadata">

**Author:** ![haisong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@haisong](https://forums.unrealengine.com/u/haisong)\
**Post date:** [February 10, 2018, 7:56am UTC](https://forums.unrealengine.com/t/problems-cooking-large-project/411063/4 "2018-02-10T07:56:18Z")

</div>

I packaged my project using command line. My engine is a source build engine.

When I add -iterate to the package command line, the cooker skip most of the files if some files are modified, or skip cooking if none. See the log below.

Cook: LogCook: Display: Creating asset registry  
Cook: LogCook: Display: Iterative cooking summary for WindowsNoEditor,  
Cook: Considered: 5010,  
Cook: File Hash missmatch: 368,  
Cook: Packages Kept: 4642,  
Cook: Packages failed save kept: 25,  
Cook: Missing Cooked Info(expected 0): 0  
Cook: LogCook: Display: Iterative cooking summary for WindowsServer,  
Cook: Considered: 5004,  
Cook: File Hash missmatch: 368,  
Cook: Packages Kept: 4636,  
Cook: Packages failed save kept: 31,  
Cook: Missing Cooked Info(expected 0): 0  
Cook: LogCook: Display: Sandbox cleanup took 14.993 seconds for platforms WindowsNoEditor WindowsServer iterative true
