Running process.memory() or process.memory().free before each app upload might also provide a clue. Although the value will be different for each device based on the actual apps loaded, my experience is that when approaching a value around 150 JsVars or less, one may start to notice issues. Versions of Espruino after 1V95 or thereabouts did start reporting LOW MEMORY warnings.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Running
process.memory()
orprocess.memory().free
before each app upload might also provide a clue. Although the value will be different for each device based on the actual apps loaded, my experience is that when approaching a value around 150 JsVars or less, one may start to notice issues. Versions of Espruino after 1V95 or thereabouts did start reporting LOW MEMORY warnings.