These are chat archives for SmingHub/Sming

28th
May 2017
Ramon F. Mendes
@midiway
May 28 2017 01:57
Is there a global function to know the available RAM/heap memory?
..so I can know if my program is leaking memory over the time..
Ramon F. Mendes
@midiway
May 28 2017 02:08
Serial.print("Free size: "); Serial.println(system_get_free_heap_size());
does the trick
now, my program is leaking, and when it gets out of RAM, it gets a watchdog reset
BUT, the board doesn’t seems to reset, that is, init() is never called again
why?