App size and resources

Former Member
Former Member
In table http://developer.garmin.com/images/blog/ciq_device_support_chart.png I see 64kb maximum app size for Fenix3 watch.

Do resources included in this size?
  • If your program loads the resources, then yes. So if you have 50 strings, for example, and load all 50 at once, they take memory for all 50. But if you only load a string when you use it and free it when you're done, it uses less memory (at least that's the way I understand it).

    One other thing about the f3 family (with 1.3/1.4 Connect IQ). is that if you have an device-app that records an activity (writes a .fit), out of the 64k, 7k of that is used for the recording process, and not available for your app. Your memory usage goes up by 7k as soon as you start recording. (the va takes 4k for this, while other watches don't use any for this)

    You can see this in the fenix3 section of the devices.xml file in the SDK:
    <app id="watch-app" memory_limit="65536" fit_session_memory="7168" />
  • Former Member
    Former Member over 8 years ago
    Thank you for quick answer. I understand about memory management. And are there any max app size?
    Can I use for example 100 png files*5kb if I load and than unload it one by one?
  • There is a maximum space for all CIQ apps on a watch combined. (I think the smallest is 512k) but that's for all 16 slots, so if you do an app thats 256k (in mass store space), that only leaves 256k for 15 other apps.

    On your phone, under "Garmin Device>(your Device)>Connect IQ>Manage Storage" you can see what's going on as far as slots and Mass Store space.
  • Former Member
    Former Member over 8 years ago
    I don't understand clearly but in specification I can see 32 mb &#1072; but for apps we have 16 slots and 525 KB total capacity.
  • The 512kb is the minimum and varies by device. On a va-hr, for example, the max for all 1mb. Not all mass store space is available for CIQ apps.. Again, look at "Manage storage" under Connect IQ on your phone to see what it is for your watch.