how much data can I really store with Application.Storage ?

Former Member
Former Member

I'm using Application.Storage to store battery data, device is an Instinct 2

I've started with really long names for the keys and now playing around with optimizing it, but I'm confused about how much data I really can store. The docs says its 128KB

Every data point is a float number and if I make the keys also just a number I can store 1366 key-value pairs when running the unit tests, before I ran into Exception: Toybox.Application.Storage.setValue() storage limit exceeded

that are 5464Bytes of real data (every float 32bit) and the same amount of "data" in the keys.

How are the 128KB calculated?