We are trying to setup a reliable pipeline to measure and analyze the heap usage of our application starting from the guide for host-based mode provided here: https://docs.espressif.com/projects/esp ... based-mode , and using ESP WROVER with IDF v4.4.4.
In our specific use case, we are trying to measure memory consumption of HTTPS requests as we noticed some consumption peaks and wanted to investigate where and why (to eventually think about possible optimizations).
We managed to go through all the guided steps, and we have some questions regarding the output provided by the tools:
1. Is the timestamp of each allocation/free operation correct? It doesn't seem to make much sense with respect to timing of our application.
2. A couple of tasks are created and deleted between heap_trace_start and heap_trace_stop, however such tasks are not shown in the heap trace report. How's that possible? Is the tool imprecise or are we using it in the wrong way?
We are more than welcome to hear any possible suggestions on how to improve the memory profiling pipeline.
Are the provided heap trace tools reliable?
Who is online
Users browsing this forum: No registered users and 127 guests