# Optimization increase the size of the file

**URL:** <https://forum.rapidcompact.com/t/optimization-increase-the-size-of-the-file/37>\
**Category:** Processing issue\
**Created:** [October 20, 2021, 7:53pm UTC](https://forum.rapidcompact.com/t/optimization-increase-the-size-of-the-file/37 "2021-10-20T19:53:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eduardo\_Reyes](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.rapidcompact.com/eduardo_reyes/32/36_2.png) [@Eduardo\_Reyes](https://forum.rapidcompact.com/u/Eduardo_Reyes)\
**Post date:** [October 20, 2021, 7:53pm UTC](https://forum.rapidcompact.com/t/optimization-increase-the-size-of-the-file/37/1 "2021-10-20T19:53:06Z")

</div>

Hello. I was trying to optimize a model using “Reality Composer”, “Medium” optimization is now my model is heavier than before.

File Name:  
picture\_frame\_467457

Rapid Compact Core Version:  
4.7.0

Created:  
20.10.2021 12:48

Original size:  
1.70 MB

Optimized size .glb :  
2.83 MB

What I am doing wrong?

Thanks in advance

Eduardo

---

<div class="post-metadata">

**Author:** ![juliandgg3d](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.rapidcompact.com/juliandgg3d/32/35_2.png) [@juliandgg3d](https://forum.rapidcompact.com/u/juliandgg3d)\
**Post date:** [October 21, 2021, 11:18pm UTC](https://forum.rapidcompact.com/t/optimization-increase-the-size-of-the-file/37/2 "2021-10-21T23:18:24Z")

</div>

Hi Eduardo,

This is due to a flat texture resolution in that preset (medium = 2k textures). Your input only has 1k textures, that explains already most of the size gain. We will work on an update so you can edit these factory presets as well and change the desired resolutions.

Hope that already helped!

Julian

---

<div class="post-metadata">

**Author:** ![Eduardo\_Reyes](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.rapidcompact.com/eduardo_reyes/32/36_2.png) [@Eduardo\_Reyes](https://forum.rapidcompact.com/u/Eduardo_Reyes)\
**Post date:** [October 21, 2021, 11:31pm UTC](https://forum.rapidcompact.com/t/optimization-increase-the-size-of-the-file/37/3 "2021-10-21T23:31:59Z")

</div>

Excellent. BTW, Are there any other optimization that you would recommend me to try? I am using this models for Reality Composer.

Thanks in advance,

Eduardo

---

<div class="post-metadata">

**Author:** ![juliandgg3d](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.rapidcompact.com/juliandgg3d/32/35_2.png) [@juliandgg3d](https://forum.rapidcompact.com/u/juliandgg3d)\
**Post date:** [October 22, 2021, 12:55pm UTC](https://forum.rapidcompact.com/t/optimization-increase-the-size-of-the-file/37/4 "2021-10-22T12:55:33Z")

</div>

Hi Eduardo,

Another aspect is that the Reality Composer preset is not compressing the textures and will write png files, as the textures get compressed later on anyways ([link](https://developer.apple.com/documentation/realitykit/arview/improving_the_performance_of_a_realitykit_app/reducing_gpu_utilization_in_your_realitykit_app))

For other optimizations, feel free to use a custom preset and set the output format in the las step to usdz (a glb is always written out for your convenience as well). In the custom preset you have full control over mesh resolution, as well as texture resolution and formats.

Overall your input model is already very optimized (less than 200 faces, 1 draw call, 1k textures). RapidCompact is best if you use it on non-optimized assets (for example a 3D scan) to get a similar result to the file you uploaded.

Hope that already helps!

Best Regards,

Julian
