Coap Communication leads to memory leak #7866
-
Hi OpenThread community! I am using the coap communication as the protocol for the data exchange between the devices with the confirmation flag enable. So when I send the data from the Gateway to Endnode, Endnode will send the confirmation to gateway but it leads to some memory leak during the session. And If remove the confirmation flag then there is no memory leak. Attached the logs file for the Gateway and Endnode for the reference. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
It appears that your child is configured as a sleepy end device. If so, what is the poll period value? See pollperiod CLI command. Note that poll period will determine the latency sending messages (in this case the CoAP ACK message) to the sleepy end device. |
Beta Was this translation helpful? Give feedback.
-
What you are observing are the cached responses to support message de-duplication - see: openthread/src/core/coap/coap.hpp Line 276 in b71c159 |
Beta Was this translation helpful? Give feedback.
What you are observing are the cached responses to support message de-duplication - see:
openthread/src/core/coap/coap.hpp
Line 276 in b71c159