You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the MQTT service is offline, the memory grows without any limit until the application crashes. After the service comes back online, the increased memory is not released.
The text was updated successfully, but these errors were encountered:
I found the issue. When the MQTTAsync_commands queue is full and old messages are deleted, the onFailure callback in the token is not executed, which causes the pendingDeliveryTokens_ to grow indefinitely and eventually lead to an out-of-memory (OOM) issue.
I added the following code, and it seems to be running well so far. However, I haven't read all the code, so I can't be sure if it introduces any additional issues.
version : 1.4.1
code
When the MQTT service is offline, the memory grows without any limit until the application crashes. After the service comes back online, the increased memory is not released.
The text was updated successfully, but these errors were encountered: