-
Notifications
You must be signed in to change notification settings - Fork 7.6k
WiFiClientSecure connect memory leak #6257
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
Comments
Possibly related to PR #6062? |
Hi, thank you for your answer, I've read #6062, and I've tried to make only one persistent instance of WiFiClientSecure with only one CA certificate assignation, but seems that the leak appear on WiFiClientSecure connect() method. |
are you sure, your socket is not in FIN_WAIT state? does the memory return after some time? like 3 minutes? |
Hi Everslick and thank you for your answer. I've to check for socket status, but I'm sure that memory remains occupied even after dozens of minutes |
Hello, can you please retest this on v2.0.3-rc1? Is it still relevant? |
I'm closing the issue as expired due to no answer. If needed, please reopen it. Thanks for understanding. |
Board
ESP32 Dev Module
Device Description
Every time I create a connection with WiFiClientSecure library I looseabout 100B of heap memory. Everything works, I connect(), I get data and I stop(). But the during next connect() I loose other memory.
Thanks
Hardware Configuration
esp32 dev kit 1 without PINs used
Version
latest master
IDE Name
Platform IO
Operating System
Windows 10
Flash frequency
40MHz
PSRAM enabled
no
Upload speed
115200
Description
Memory leak
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: