Documentation of memory debug feature?
Documentation of memory debug feature?
I need to investigate some dynamic memory leaks. I see that menuconfig allows me to enable heap memory debug, but I have not found any documentation of how that debug feature works and how to use it. Is there anything available?
-
- Posts: 79
- Joined: Tue Apr 26, 2016 5:10 am
Re: Documentation of memory debug feature?
Hi there,
I have found using this function quite useful in tracking down memory leaks.
I have found using this function quite useful in tracking down memory leaks.
Code: Select all
esp_get_free_heap_size()
Re: Documentation of memory debug feature?
Thanks for the suggestion. I have already added code to periodically display the size of free heap space. That's how I know memory is being leaked. Now I need to investigate where this is happening.
-
- Posts: 8
- Joined: Thu Jan 23, 2020 3:53 pm
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot] and 91 guests