Where can I see the maximum amount of Storage per device?

The Storage class in ciq api docs does not have a method to get the rest of the Storage.
Is there somewhere I can see the Storage size for each device, even if it is in a browser, etc.?

  • If you're looking for the max memory each app type has in each device then you can find it here: https://forums.garmin.com/developer/connect-iq/f/showcase/298405/garmin-dev-tools

    There's also an api call for getting the free memory: 

    stats = System.getSystemStats();
    System.println("total: " + stats.totalMemory + ", free: " + stats.freeMemory + ", used: " + stats.usedMemory);

    I don't know about the same for storage though. If you're interested about your specific device then you should be able to see it in your computer's OS when the device is connected via USB cable. In Linux you'll see it using the df command. But both on Mac and Windows you can click on the icon of the drive (that is the external usb storage drive that is the watch's storage) and see the total and free storage.

  • I seem to recall it's in the area of 100k on devices, but I see no mention of that in the CIQ docs.  An exception gets thrown if you exceed that or there is no more file system space on the device. so you can detect issues.

    For my own apps, I'm usually in the <8k range.  Application.Storage uses files in the data folder.  3 per app, and by looking at those, you can probably guess at the current size.  Here's an example from the sim's directory of one of my apps for example: