To be honest, the OOM error has mostly been replaced by the power issue, I can't actually replicate the OOM any more.
I did a setInterval to print the memory usage and it never really drops too low.
{ "free": 3775, "usage": 3373, "total": 7148, "history": 0, "stackEndAddress": 536990532, "flash_start": 134217728, "flash_binary_end": 435488, "flash_code_start": 134283264, "flash_length": 524288 } { "free": 4146, "usage": 3002, "total": 7148, "history": 0, "stackEndAddress": 536990532, "flash_start": 134217728, "flash_binary_end": 435488, "flash_code_start": 134283264, "flash_length": 524288 } { "free": 4144, "usage": 3004, "total": 7148, "history": 0,
@dave_irvine started
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.
To be honest, the OOM error has mostly been replaced by the power issue, I can't actually replicate the OOM any more.
I did a setInterval to print the memory usage and it never really drops too low.