05-05-2021 19:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
05-05-2021 19:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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]
- Is it possible to save data files in tens of Mb size (or few hundreds if possible) inside Versa? If so, how can I achieve this goal? I thought that it is possible since Versa has 4Gb memory.
- Is it possible for one app to access the data store of another app? For example, is it possible for B (transfers stored data to external devices) to use the data collected by application A?

05-05-2021 19:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


05-05-2021 19:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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.
Gondwana Software
