I have a problem of memory management on my app : https://apps.garmin.com/fr-FR/apps/95dd5586-4a26-401f-83b5-6e408d4dbd0e
Common Resources file is 3Ko. Data is about 600 octets
French Resources file is 3Ko. Data is about 600 octets
English Resources file is 3Ko. Data is about 600 octets
Properties.xml file is 5Ko. Data is about 1700 octets (52 string, 2 boolean, 1 number).
I have to load all properties at the same time.
In the device.xml, I have for the fenix3 memory_limit="65536" and fit_session_memory="7168"
PRG file is 86Ko
SIM is showing peak at 58,2Ko with my properties (52 string, 2 boolean, 1 number) loaded
In the documentation for AppBase.setProperty(), there is a limit on the size of the Properties of 8KB. If you reach this limit, the properties will not be saved or reloaded.
I woud like to have more proprerty, about 100 strings instead of 52, then about 3400 octets (much less than 8KB).
But when I'm trying with 55 (and more) strings, and when I quit the app, I have a message on Eclipse "Unable to serialize app data", and my properties are destroyed on the SIM. And I think it's a problem of memory, the properties are not saved and cannot be reloaded.
If someone could tell me more ? Thanks