CAP_8BIT of a task increasing

gurucharank
Posts: 1
Joined: Thu Sep 23, 2021 12:48 pm

CAP_8BIT of a task increasing

Postby gurucharank » Thu Sep 23, 2021 1:32 pm

Hi,

Monitoring the heap and stack usage and printing runtime task heap allocation using esp_dump_per_task_heap_info from examples
Found that on every iteration the CAP_8BIT allocation is increasing. No Mallocs used anywhere in the code and still seeing memory increase.
Found the increase of other tasks too slightly increasing.
Why does the heap allocation spike during execution and is it any memory leak?

Regards,
guru

ESP_Sprite
Posts: 9749
Joined: Thu Nov 26, 2015 4:08 am

Re: CAP_8BIT of a task increasing

Postby ESP_Sprite » Fri Sep 24, 2021 3:25 am

Depends, what does your app do? It's known that using the WiFi/LWIP stack and handling connections can lead to a (not unbound) increase of allocated memory.

Who is online

Users browsing this forum: Baidu [Spider], ESP_igrr and 122 guests