RAM memory leak for internet reconnect

0

Hi, I'm referring to https://github.com/espressif/esp-aws-iot/tree/release/beta/examples/ota/ota_mqtt for OTA over MQTT on ESP32C3 device. As per my understanding this framework is modified based on aws-iot-device-sdk-embedded-C release by AWS. Currently issue faced is:

  1. Heap memory leak (3 kB) found on internet re-connect (WiFi=on, Internet=off). But no/ less leak on WiFi re-connect.
  2. TLS break issue seen when internet is turned off. Please suggest how to resolve this.
  • Hi. Can you please supply more details? Do you mean re-connection after the device has re-booted and started running the new firmware version? I am not quite grasping how there would be a leak then; the re-boot will have freed everything and I don't think anything should have been freed yet on the new boot, so I don't see the opportunity for a leak to occur. I think I misunderstand something.

已提問 2 年前檢視次數 67 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南