# PC runs out of memory during project launch/export

**URL:** <https://forums.unrealengine.com/t/pc-runs-out-of-memory-during-project-launch-export/474184>\
**Category:** Getting Started & Setup\
**Tags:** project-launcher, ram, unreal-engine, crash, packaging-projects, question\
**Created:** [November 9, 2020, 12:27am UTC](https://forums.unrealengine.com/t/pc-runs-out-of-memory-during-project-launch-export/474184 "2020-11-09T00:27:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grimstrikes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Grimstrikes](https://forums.unrealengine.com/u/Grimstrikes)\
**Post date:** [November 9, 2020, 12:27am UTC](https://forums.unrealengine.com/t/pc-runs-out-of-memory-during-project-launch-export/474184/1 "2020-11-09T00:27:19Z")

</div>

PC crashes with bluescreen of death everytime I try to package my project via the project launcher.

Monitoring memory usage shows the crash is because the PC runs out of its 16GB RAM. I tried changing the max memory usable by the cooking process (by changing the _MaxMemoryAllowance_ property to 12GB in _BaseEditor.ini_), but it had no effect, the project launcher still shows 16GB as max allowed memory and still crashes halfway through the process.

Am I missing something, or is there a way to actually limit the memory used by cooking and avoid having the whole PC crash? Thank you in advance.

---

<div class="post-metadata">

**Author:** ![AnotherZach](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnotherZach](https://forums.unrealengine.com/u/AnotherZach)\
**Post date:** [November 9, 2020, 12:35am UTC](https://forums.unrealengine.com/t/pc-runs-out-of-memory-during-project-launch-export/474184/2 "2020-11-09T00:35:36Z")

</div>

* * *

MaxMemoryAllowance should be the right setting to toggle. But there are different levels of Ue4 settings to play with. If you go your Engine config folder, you will see that there are base settings for , Engine. And of course there are your config files for your own project. While your the project settings should override the engine base settings, it appears as that isn’t working. Your next best bet is ensure all .ini files MaxMemoryAllowance is changed.

The device profiles could also help you adjust the LOD bias for your textures, which would save memory.

---

<div class="post-metadata">

**Author:** ![Andyswi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andyswi](https://forums.unrealengine.com/u/Andyswi)\
**Post date:** [November 9, 2020, 8:53pm UTC](https://forums.unrealengine.com/t/pc-runs-out-of-memory-during-project-launch-export/474184/3 "2020-11-09T20:53:12Z")

</div>

@AnotherZack, thanks for the tip. There are a lot of setting in there, any more specific guidance for those of us that don’t know the engine settings very well?

---

<div class="post-metadata">

**Author:** ![AnotherZach](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnotherZach](https://forums.unrealengine.com/u/AnotherZach)\
**Post date:** [November 9, 2020, 10:20pm UTC](https://forums.unrealengine.com/t/pc-runs-out-of-memory-during-project-launch-export/474184/4 "2020-11-09T22:20:52Z")

</div>

There are a million bells and whistles. Many things are exposed to the project settings tab. For example DefaultEngine.ini will contain information about the editor start up map. Other settings like engine scalability are detailed here

> **[Scalability Reference](https://docs.unrealengine.com/4.27/en-US/TestingAndOptimization/PerformanceAndProfiling/Scalability/ScalabilityReference/)**
>
> Scalability options, properties, and console variables.
