Max Runtime memory available

Goodmorning, 

Is there a list available that has the max available runtime memory use per device?

I'm only interested in CIQ 3+ devices, but cannot find the information anywhere apart from the odd comment 124 will work for almost all devices...

Which devices specifically can go over 124 kB and by how much? 

  • Memory varies not only by device, but by app type.  Memory for a device app will be different than for a watch face on the same device.

    You can look in the comiler.json for a device and you'll see something like this: (This is for a fr945)

        "appTypes": [
            {
                "memoryLimit": 524288,
                "type": "audioContentProvider"
            },
            {
                "memoryLimit": 65536,
                "type": "background"
            },
            {
                "memoryLimit": 131072,
                "type": "datafield"
            },
            {
                "memoryLimit": 32768,
                "type": "glance"
            },
            {
                "memoryLimit": 1310720,
                "type": "watchApp"
            },
            {
                "memoryLimit": 98304,
                "type": "watchFace"
            },
            {
                "memoryLimit": 1048576,
                "type": "widget"
            }
        ]

    but the numbers there don't account for the 4k used by the VM so 32768 means you actually have 28k for your own code,

    You can also just run the various targets in the sim with the app type your interested in and see the number on the bottom line of the sim. 92k in this case:

    If you are looking at a device app, all devices with CIQ 3 or above have at least 124kb, while some will have far more memory.

  • Thanks, I found the Device list , and unfortunately about 30% of my supported watches are limited to the 124Kb.

    Next job on the list is to learn jungles so I can give the 124Kb watches a less feature rich experience