# Reducing the size of UE5 source build

**URL:** <https://forums.unrealengine.com/t/reducing-the-size-of-ue5-source-build/2672064>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, question\
**Created:** [November 5, 2025, 5:57pm UTC](https://forums.unrealengine.com/t/reducing-the-size-of-ue5-source-build/2672064 "2025-11-05T17:57:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gionascm2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gionascm2](https://forums.unrealengine.com/u/gionascm2)\
**Post date:** [November 5, 2025, 5:57pm UTC](https://forums.unrealengine.com/t/reducing-the-size-of-ue5-source-build/2672064/1 "2025-11-05T17:57:56Z")

</div>

I use a UE source build, solely because it’s required to make PS4/PS5 games. I don’t make frequent changes to the source build – maybe a few times per year at most. The UnrealEngine folder is 370GB currently, leaving me with \<30GB on my PC, so I’m looking for ways to reduce the size.

Some ideas I’ve seen:

- **Delete `.git` folder:** We don’t switch back to previous UE versions once we upgrade, so this seems viable.
- **Create an Installed Build:** This seems like the best option if it’s applicable to my circumstances (building to PS4/PS5, and having some custom plugins in `UnrealEngine\Engine\Plugins`). If so, I’d appreciate specific instructions/the exact command to run. [sources: [1](https://forums.unrealengine.com/t/intermediate-floder-size/689579/2), [2](https://forums.unrealengine.com/t/how-to-custom-engine-build-and-team-distribute/1704077/2)]

I’d appreciate feedback on these ideas, and/or any additional recommendations to free up space in my circumstances.

---

<div class="post-metadata">

**Author:** ![TrueFranco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/truefranco/32/1095055_2.png) [@TrueFranco](https://forums.unrealengine.com/u/TrueFranco)\
**Post date:** [November 11, 2025, 10:44pm UTC](https://forums.unrealengine.com/t/reducing-the-size-of-ue5-source-build/2672064/2 "2025-11-11T22:44:08Z")

</div>

The exact command is very simple.

./Setup.bat (in WIndows)

./GenerateProjectFiles.bat

The most important:

./Engine/Build/BatchFiles/RunUAT.bat BuildGraph -target=“Make Installed Build Windows” -script=Engine/Build/InstalledEngineBuild.xml -clean -set:HostPlatformOnly=true -set:BuiltDirectory=“D:\\FoldernameWhereYouWantTheFiles”

Before the last command ,edit the file Engine/Build/InstalledEngineFilters.xml and add this two lines:

 ![Screenshot 2025-11-11 at 5.29.10 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/0/8/c080d1c2bbc40ce02f0e25db9a8a95775df5386f.jpeg)

I use dSYM because I’m in Mac ,but if you are in Windows use ‘pdb’

That will save you 50 gigas of space or more.

If you want Fab and Bridge include in the build delete those two lines you see there.

If you want an Extra platform like android or IOS , include in the las command “-set:WithAndroid=true” or “-set:WithIOS=true”

If you dont want to build DDC file (Shaders Cache) use “-set:WithDDC=false” , build the DDC take a lot of time if you have multiples platform.
