esp-idf icon indicating copy to clipboard operation
esp-idf copied to clipboard

Weird memory random consumption increase about 6k without any reason. (IDFGH-12795)

Open filzek opened this issue 9 months ago • 1 comments

Answers checklist.

  • [X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • [X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • [X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Using a esp32 with esp-insight enable, the tasks are already using a limited resoruces very well tuned, but often the internal heap size drops about 6.5k

free 10852 allocated 264232 min_free 9944 largest_free_block 8176

and suddenly rertuns to 17.5k

free 17404 allocated 258520 min_free 9944 largest_free_block 10224

this happen every 3 of 64 times of 3 minutes each.

filzek avatar May 10 '24 05:05 filzek

Hmm, without some more info it is hard to say why.

Maybe you could try enabling Heap-tracing or [Heap task tracing(https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/system/heap_debug.html#heap-task-tracking) and dump this info when this memory "disappears" to help you trace down where it went.

ESP-Marius avatar May 13 '24 01:05 ESP-Marius

Closing this due to lack of information, feel free to re-open if there is any more information about this issue.

ESP-Marius avatar May 31 '24 08:05 ESP-Marius