You are reading a single comment by @fanoush and its replies.
Click here to read the full conversation.
-
Can someone point me to some tips or documentation for working in such an environment?
See https://www.espruino.com/Performance maybe some parts are too low level but there is a lot of tips there (strings, typed arrays,...).
Hi guys,
I'm developing a clock app for my Bangle watch and am running into memory issue (I think).
My watch shows a 'callback' error at the bottom of the screen after some time and stops updating the time. A bit later it displays a 'LOW_MEMORY, MEMORY' error and only manages to display my date border. I don't seem to have this issue when using other clocks.
I'm a spoiled javascript developer that never had to think about memery usage too much and I'm struggling quite a bit in this low memory environment. Can someone point me to some tips or documentation for working in such an environment?
The code for my app can be found here > https://github.com/jbrems/BangleApps/blob/feat/skyrimclock/apps/skyrimclock/app.js
Thanks,
Jonas