Is there a way to programmatically clear the heap?

Tim Rohaly

Invoking TINIOS.blastHeapOnReboot() will set a flag that causes the heap to be reinitialized the next time the TINI is rebooted. Be sure to read the documentation for this method before you use it. This call can be followed by TINIOS.reboot() if you need to clear the heap immediately.