You are reading a single comment by @Hank and its replies. Click here to read the full conversation.
  • I am kind of struggeling with RAM issues. The watchface claims low ram after a while. Is there somebody who can check the code for the leak?
    https://github.com/espruino/BangleApps/b­lob/master/apps/hworldclock/app.js
    I checked with

    process.memory(false);
    

    So my guess is that the status change from "show every 10 seconds" to "show every second" causes RAM usage. So my theory is that I use and discard the setInterval in a wrong way. Any hints on that?

About

Avatar for Hank @Hank started