# Decrease Project Size

**URL:** <https://forum.defold.com/t/decrease-project-size/17845>\
**Category:** Questions\
**Created:** [March 14, 2018, 6:29pm UTC](https://forum.defold.com/t/decrease-project-size/17845 "2018-03-14T18:29:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomi.hasa](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/tomi.hasa/32/7604_2.png) [@tomi.hasa](https://forum.defold.com/u/tomi.hasa)\
**Post date:** [March 14, 2018, 6:29pm UTC](https://forum.defold.com/t/decrease-project-size/17845/1 "2018-03-14T18:29:16Z")

</div>

The size of my project has increased from 20 MB to 400 MB and I haven’t done much with it as I’m still learning how to use Defold. Is there a way to decrease the size of the project folder as I have definitely not added megabytes of new images?

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [March 14, 2018, 7:35pm UTC](https://forum.defold.com/t/decrease-project-size/17845/2 "2018-03-14T19:35:58Z")

</div>

Have you used a tool to analyse where all the megabytes of data are located?

---

<div class="post-metadata">

**Author:** ![tomi.hasa](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/tomi.hasa/32/7604_2.png) [@tomi.hasa](https://forum.defold.com/u/tomi.hasa)\
**Post date:** [March 14, 2018, 8:58pm UTC](https://forum.defold.com/t/decrease-project-size/17845/3 "2018-03-14T20:58:36Z")

</div>

I haven’t gotten to know about that tool yet. I’m sorry to ask, but where is it?

---

<div class="post-metadata">

**Author:** ![tacklemcclean](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/tacklemcclean/32/7634_2.png) [@tacklemcclean](https://forum.defold.com/u/tacklemcclean)\
**Post date:** [March 14, 2018, 9:08pm UTC](https://forum.defold.com/t/decrease-project-size/17845/4 "2018-03-14T21:08:08Z")

</div>

If you’re on Windows, here’s one I personally use now and then:

> **[WinDirStat](https://windirstat.net/)**
>
> Windows Directory Statistics

---

<div class="post-metadata">

**Author:** ![Mattias\_Hedberg](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mattias_hedberg/32/433_2.png) [@Mattias\_Hedberg](https://forum.defold.com/u/Mattias_Hedberg)\
**Post date:** [March 14, 2018, 10:15pm UTC](https://forum.defold.com/t/decrease-project-size/17845/5 "2018-03-14T22:15:32Z")

</div>

Are you synchronizing a lot and/or using git directly? If you are and change a lot of binary files that can make git take up a lot of space, but it shouldn’t be _that_ much for small project.

---

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [March 15, 2018, 6:26am UTC](https://forum.defold.com/t/decrease-project-size/17845/6 "2018-03-15T06:26:35Z")

</div>

If you bundle the game, you can select to generate a build report. By inspecting the report you should be able to pinpoint any large assets. Just in case 🙂

---

<div class="post-metadata">

**Author:** ![tomi.hasa](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/tomi.hasa/32/7604_2.png) [@tomi.hasa](https://forum.defold.com/u/tomi.hasa)\
**Post date:** [March 15, 2018, 8:32pm UTC](https://forum.defold.com/t/decrease-project-size/17845/7 "2018-03-15T20:32:51Z")

</div>

I was extremely busy with a project today, but now I can give the information.

 ![41](https://forum-defold.b-cdn.net/uploads/default/original/2X/8/8f44e4f93f36117f14cd095567e6ec215d39adb8.jpg)

 ![37](https://forum-defold.b-cdn.net/uploads/default/original/2X/3/33bb2d05855e24cb45715dfa869c4bb0071f6e9d.jpg)

 ![36](https://forum-defold.b-cdn.net/uploads/default/original/2X/7/76b8af4aca7bab97ccbecc5b81dd7d745f0a3536.jpg)

As you can see from the images, the build folder seems to take most of the space.

Textures take space (they came with the 2D Platformer Creation Kit as most of the files as I’m still learning to use Defold) in these locations:

build / default / background  
build / platformer\_creation\_kit / framework / atlases  
build / platformer\_creation\_kit / framework / sprites

I was suspecting it could be the version control that is adding more files all the time, but I guess not.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [March 16, 2018, 4:43am UTC](https://forum.defold.com/t/decrease-project-size/17845/8 "2018-03-16T04:43:36Z")

</div>

You can remove the build folder. It will be regenerated the next time you build or bundle. The folder is not under version control.

---

<div class="post-metadata">

**Author:** ![Mattias\_Hedberg](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mattias_hedberg/32/433_2.png) [@Mattias\_Hedberg](https://forum.defold.com/u/Mattias_Hedberg)\
**Post date:** [March 18, 2018, 10:13pm UTC](https://forum.defold.com/t/decrease-project-size/17845/9 "2018-03-18T22:13:32Z")

</div>

If you are not already you should look into using image compression if you want to decrease your package size, though take in consideration that it will probably increase your loading times somewhat. There is a small post about it on the forums [Texture Management in Defold](https://forum.defold.com/t/texture-management-in-defold/8921) the documentation is also great of course [texture-profiles](https://www.defold.com/manuals/texture-profiles/)
