# How to reduce size of UE4Game 620 Mb

**URL:** <https://forums.unrealengine.com/t/how-to-reduce-size-of-ue4game-620-mb/343471>\
**Category:** Platform & Builds\
**Tags:** Cooking, Linux, unreal-engine, question\
**Created:** [January 8, 2016, 1:26pm UTC](https://forums.unrealengine.com/t/how-to-reduce-size-of-ue4game-620-mb/343471 "2016-01-08T13:26:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_a776ed18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a776ed18](https://forums.unrealengine.com/u/anonymous_user_a776ed18)\
**Post date:** [January 8, 2016, 1:26pm UTC](https://forums.unrealengine.com/t/how-to-reduce-size-of-ue4game-620-mb/343471/1 "2016-01-08T13:26:57Z")

</div>

Hi, all,

I have compiled UE4.10 from git([A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums](https://wiki.unrealengine.com/Building_On_Linux)).  
System: Kubuntu 14.04 LTS. Installation - Exellent,  
But: UE4Game is 620 Mb size? Mmm…

Ok. Next:

> **[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 — https://unrealcommunity.wiki/! You will be able to find content from...

Cooking On Linux Using **UnrealFrontend** (Project Prop: Pack Cooking Content - Marked):

LinuxNoEditor + Development + OnFly

Blueprint Empty project **without** starter content - **620** Mb binary.

Blueprint Empty project **with** starter content - the same **620** Mb bynary.

Cooking On Linux Using **Command Line** (Project Prop: Pack Cooking Content - Marked):

Engine/Build/BatchFiles/RunUAT.sh BuildCookRun -nocompile -nop4 -project=“/absolute/path/to/your/MyProject/MyProject.uproject” -cook -compressed -allmaps -stage -archive -archivedirectory=“/absolute/path/to/output/folder/” -package -LinuxNoEditor -clientconfig=Development -ue4exe=UE4Editor -clean -pak -targetplatform=Linux -utf8output

(I will be appreciate if someone will give a link on detailed explanation of them)

Blueprint Empty project **without** starter content - **620** Mb binary.

Blueprint Empty project **with** starter content - the same **620** Mb bynary.

Cooking On Linux Using **Editor** (Project Prop: Pack Cooking Content - Marked):

Blueprint Empty project **without** starter content - **620** Mb binary.

Blueprint Empty project **with** starter content - the same **620** Mb bynary.

So, how to reduce size of UE4Game, because game binary is just renamed UE4Game, or maybe I can make only C++ project with adequate binary size or nothing can be done and this is UE4 linux native reality?

Any suggestions, explanations, links? :))

---

<div class="post-metadata">

**Author:** ![RCL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RCL](https://forums.unrealengine.com/u/RCL)\
**Post date:** [January 9, 2016, 1:10am UTC](https://forums.unrealengine.com/t/how-to-reduce-size-of-ue4game-620-mb/343471/2 "2016-01-09T01:10:07Z")

</div>

You can strip it (be aware of effect on debugging and callstacks though).

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a776ed18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a776ed18](https://forums.unrealengine.com/u/anonymous_user_a776ed18)\
**Post date:** [January 9, 2016, 7:56am UTC](https://forums.unrealengine.com/t/how-to-reduce-size-of-ue4game-620-mb/343471/3 "2016-01-09T07:56:31Z")

</div>

Thank you for your advise, as i have understood, we use Linux(UNIX) tool,  
as a result:

strip **–strip-all** MyProject\_binary

Size: was - **620** , now - **98** Mb.

strip **–strip-unneeded** MyProject\_binary

Size: was - **620** , now - **98** Mb.

( **man strip** + **man readelf** + **man nm** )

And yes, we takes **all the risks** with **unstable behaviour** of the binary.

Do we have any other ways?  
(Maybe Unreal Engine or project compilation(cooking, packing) commands)

Anyway again - thank you.
