Open dapgo opened 2 years ago
Looking at that screenshot it feels like the watch face really wasn't meant for Bangle.js 1 at all?
But yeah, some memory tweaks could be good. I just found that 2 fonts were loaded that weren't used, so that may help you
Affected hardware version
Bangle 1
Your firmware version
2v14
The bug
For the usage on a bangle.js1watch it would be great to reduce the memory consumption or improve code quality, otherwise It is almost unusable.
New interpreter error: LOW_MEMORY,MEMORY Execution Interrupted during event processing. Interpreter error: [ "LOW_MEMORY", "MEMORY" ]
The app works fine until the screen goes off, then when screen has to be reactivated the low mem crash happens.
Antyway, it issue happens also with not that low "free mem", specially compared with the used one.
process.memory(); ={ free: 1707, usage: 877, total: 2584, history: 0, gc: 0, gctime: 6.04248046875, blocksize: 13, stackEndAddress: 536925648, flash_start: 0, flash_binary_end: 466460, flash_code_start: 1610612736, flash_length: 524288 } Execution Interrupted during event processing. Interpreter error: [ "LOW_MEMORY", "MEMORY"