Memory usage

Hello,
I have a question about memory usage in différents products :
I made my watchface https://apps.garmin.com/en-US/apps/814bc6bf-1d8d-422b-9954-e6a4683e90f8 compatble with Fenix3 and Fenix5
In this watchface, I have 6 différents face possible (6 différents png pictures as background)
Each pictures (png) is about 3Ko, for the fenix3 and no more for the fenix5 (no more than 4Ko)
For the Fenix 3, the prg file is 205Ko
For the Fenix 5, the prg file is 466Ko, witch is really too much.

How can I explain the diffrences, and then reduce the size of prg for Fenix 5 ?
And perhaps reduce for the Fenix 3 ?
Thanks a lot
  • Are you looking at the size of a release build or one with debug symbols? Debug builds can be quite a bit larger than release builds.

    Also, what may be happening is the f3 only uses 16 colors, while the f5 uses 64, so the same image by default will be larger for the f5.

    See the Programmer's Guide in the SDK, in the bitmap section, as you can user a smaller pallet for the f5, and maybe for the f3 too.
  • OK, thanks
    This is much better with introducing <color> in the drawables.xml file