Skip to content
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 #6

Open
insound opened this issue Oct 5, 2021 · 3 comments
Open

Memory leak #6

insound opened this issue Oct 5, 2021 · 3 comments

Comments

@insound
Copy link

insound commented Oct 5, 2021

When uses sendCustomHAData every request couses heap corruption. It present in 0.3, but 0.2 ok,

@debsahu
Copy link
Owner

debsahu commented Oct 5, 2021

Interesting, I use code very similar to ESP8266HTTPClient code for ESP8266. What device are you trying to run the code on?

@insound
Copy link
Author

insound commented Oct 5, 2021

ESP32. When i have more time, i will test it more. But i was reading about HTTPClient in ESP32 had a leak before. I guess problem might be in "http->addHeader", becouse need cleen after it sended (probaly), btw .end() cant clean that. Next week i have more time, im use HA every day in different projetct, and your project helpful - im try to fix that with u)

@debsahu
Copy link
Owner

debsahu commented Oct 5, 2021

I guess you are referring to espressif/arduino-esp32#3659

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants