0

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.

asked Feb 22, 2022 at 18:45

1 Answer 1

1

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

answered Feb 23, 2022 at 7:52

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.