You are reading a single comment by @CMSpooner and its replies. Click here to read the full conversation.
  • That definitely helped with ram usage:

    >process.memory()
    ={ "free": 833, "usage": 767, "total": 1600, "history": 7,
      "gc": 571, "gctime": 2.573 }
    

    I was able to load the unminimized code (it previously failed to load where different levels of minimization would load; so i've been using it to test. I still get a message:

     ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     1v96.5 (c) 2018 G.Williams
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    Flash map 4MB:1024/1024, manuf 0xc8 chip 0x4016
    >
    =undefined
    Loading 14495 bytes from flash...
    Execution Interrupted during event processing.
    New interpreter error: LOW_MEMORY,MEMORY
    

    But the code is loaded and stored.

About

Avatar for CMSpooner @CMSpooner started