-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory Leak Question (CON-1253) #1007
Comments
Hi @ronny-antoon could you please tell us more about that setup?
|
esp-idf 5.2.1 bluetooth commision and then wifi
the test more than 3 days i can give you more data addMetricToBuffer("freeHeap", (int) heap_caps_get_free_size(MALLOC_CAP_DEFAULT));
addMetricToBuffer("minFreeHeap", (int) heap_caps_get_minimum_free_size(MALLOC_CAP_DEFAULT));
addMetricToBuffer("largestFreeBlock", (int) heap_caps_get_largest_free_block(MALLOC_CAP_DEFAULT)); |
Hi @ronny-antoon. Could you test the memory leak on idf v5.3? There was a fix for memory leak before on idf. |
I cant compile with idf v5.3 |
Could you offer the compiling log? |
ESP_IDF 5.2.1 compiling good. but ESP-IDF 5.3 i got error
|
@ronny-antoon First you can try to use idf v5.3 to compile projects without esp_matter component like examples in idf. If this error still occurs, you can try to modify struct to |
Thank you, solved. the problem occurs when adding this component and the solution was to add CONFIG_FREERTOS_USE_TRACE_FACILITY=y in sdkconfig.defaults how i can add this "CONFIG_FREERTOS_USE_TRACE_FACILITY=y" in the component it self and not from the sdkconfig.defaults ?? |
the compile solved not the Memory. |
Maybe you can add |
Could you offer the device logs and the reproduction method? |
Could you check whether your IDF include this commit espressif/esp-idf@88b300d which fixes a possible memory leak issue? If no, you can try to cherry-pick that commit or move your IDF to a branch or tag that includes that fix and try again? And one more question, are you using minimal mdns or platform mdns? If you are using platform mdns, please also check whether you mdns component include this fix espressif/esp-protocols@042533a which might also cause memory leak. |
@ronny-antoon Please check if the inputs help and close the issue if resolved |
Closing this now |
Describe the question/query that you have
I made my own program using esp_matter, and separated it to components for better maintained and testing.
I tested all my component expect the component using esp_matter and their is no memory leak, the component using esp_matter i dont know how to test it.
Look at this analytics and tell me is this called memory leak?
and how to test the component that using esp_matter?
The text was updated successfully, but these errors were encountered: