Page 1 of 1

CAP_8BIT of a task increasing

Posted: Thu Sep 23, 2021 1:32 pm
by gurucharank
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

Re: CAP_8BIT of a task increasing

Posted: Fri Sep 24, 2021 3:25 am
by ESP_Sprite
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.