user81846: I need to trace memory leak but I can't find a way.
on IDF you can use heap_trace_init_standalone but there is not present on arduino framework.

user70044: If you add #include <esp_heap_trace.h> (and define CONFIG_HEAP_TRACING) at the top of your sketch, the method should be available.
It is defined in esp32\tools\sdk\esp32\include\heap\include\esp_heap_trace.h

81846: <p>I need to trace memory leak but I can't find a way.
on IDF you can use heap_trace_init_standalone but there is not present on arduino framework.</p>
 70044: <p>If you add <code>#include &lt;esp_heap_trace.h&gt;</code> (and define <code>CONFIG_HEAP_TRACING</code>) at the top of your sketch, the method should be available.</p>
<p>It is defined in <code>esp32\tools\sdk\esp32\include\heap\include\esp_heap_trace.h</code></p>
