Try to answer question 2:
Just realized 2300 is actually the number of JsVars allocated for Espruino. The number is automatically calculated in targets/esp32/main.c based on the available heap - 40000 bytes (I guess it's for the Bluetooth stack?).
So the approaches to increase the number of JsVars (e.g. RAM for Espruino) could be:
© Espruino, powered by microcosm.
Report a problem