I have noticed crashes in my ESP32 after several calls to the webserver using the httpd library.
I've also tried httpd_register_uri_handler a very simple function that only gives an HTTP 200 response and every time it receives a call the memory increments by about 300bytes this results in esp going into
Code: Select all
abort() was called at PC 0x420a16be on core 0
Setting breakpoint at 0x40377331 and returning...
I notice the memory increase with
Code: Select all
multi_heap_info_t info;
heap_caps_get_info(&info, MALLOC_CAP_INTERNAL);
info.total_allocated_bytes
Thanks