New interpreter error: CALLBACK,MEMORY

Posted on
  • Sometimes I want the update codes by METHOD load(), and use HTTP to download new codes and eval("new codes"). But it always crashed. Especially when I use serval setInterval() in code.

    When I invoke load() in code, it still have the past codes in the RAM. Is it possible to refresh codes by codes? How can I clean RAM datas, or the garbage?

    ERROR: Ctrl-C while processing interval - removing it.
    Execution Interrupted during event processing.
    New interpreter error: CALLBACK,MEMORY
    ERROR: Ctrl-C while processing interval - removing it.
    ERROR: Ctrl-C while processing interval - removing it.
    Execution Interrupted during event processing.
    ERROR: Ctrl-C while processing interval - removing it.
    Execution Interrupted during event processing.
    MQTT disconnected... reconnecting.
    ERROR: No free sockets found

  • Mon 2020.03.23

    'use HTTP to download new codes and eval("new codes"). But it always crashed'

    Not entirely sure what is meant hear by 'codes'    Is the intent to explain why memory is not being cleared of Javascript commands, e.g. code?

    ' this has an effect similar to completely rebooting Espruino (power off/power on), but without actually performing a full reset of the hardware'
    http://www.espruino.com/Reference#l__glo­bal_load



    http://www.espruino.com/Reference#l__glo­bal_reset



    Baring that, please post the results of process.env and we'll go from there.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

New interpreter error: CALLBACK,MEMORY

Posted by Avatar for user109783 @user109783

Actions