05-05-2021 19:09
05-05-2021 19:09
Hello. I am building a data collecting application using fitbit Versa.
[Current situation]
Specifically, I want Versa to save data files (collected by its sensors such as accelerometer, gyro, etc.) internally so that I can move them to external computers later. However, I continuously got several errors like “fatal jerryscript error: ERR_OUT_OF_MEMORY”, or “App msg queue full”. I found some comments about these but I want to ask two questions.
[Questions]
05-05-2021 19:24
05-05-2021 19:24
I think each app is limited to 15MB of storage.
You can use cluster storage (max 5MB) to share data between apps on the watch.
I don't think that the jerryscript memory message relates to storage memory. It's more likely that your app is using up its RAM (maximum 64kB on original Versa, I think). You can use the System API to check.
"App msg queue full" means that your app is hogging the CPU. If the system doesn't get a chance to do other things after five seconds or so, you'll see this.
I suspect that your biggest challenge is going to be getting the data off the watch.