I am using Toit with an ESP32 eval board (ESP32_DevKitc_V4). The board is connected to another device through a UART and it is publishing to an MQTT service. Every once in a while I get a memory leak error like the following:
Heap report @ out of memory:
┌───────────┬─────────┬───────────────────────┐
│ Bytes │ Count │ Type │
├───────────┼─────────┼───────────────────────┤
| 784 | 6 | external byte array |
| 73728 | 18 | toit |
| 5016 | 25 | lwip |
| 7144 | 585 | heap overhead |
| 8088 | 49 | event source |
| 4472 | 122 | other threads |
| 20744 | 25 | thread spawn |
| 48368 | 184 | null tag |
| 42896 | 112 | wifi |
└───────────┴─────────┴───────────────────────┘
Total: 211240 bytes in 541 allocations (85%)
How do I interpret this? Is there something in the above table that stands out?