-
Notifications
You must be signed in to change notification settings - Fork 270
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
Heap goes down when receiving messages with qos >0 #226
Comments
Didn't see this but I'm not arguing; there has been a lot of changes. I'm very scarce of free time the next week so I can't do deep bug hunting. |
I can confirm this - Testing with QoS 1 messages. Latest version without this heap decrease is 97d681f ... |
I changed something that wasn't meant to be changed when doing TLS. I can't reproduce now (I did very limited testing though). |
Great. Seems to be fixed (at least for me...). Thanks. |
Thanks @bertmelis. Will test again this evening |
Fixed for me. |
tested with develop FullyFeatured-ESP8266 example. Added a
Serial.println(ESP.getFreeHeap());
to the end ofonMqttMessage(..)
mosquitto on raspberry
MQTT Explorer on windows
Independent of the message size, the reported FreeHeap goes down with every received message
QoS 2: 40-200 Bytes
QoS 1: 20-60 Bytes
QoS 0: 16 Bytes for the first message, 0 Bytes for following QoS 0 messages if you send "rapidly", e.g. 1/second. 16 Bytes again, when you wait a few seconds.
The text was updated successfully, but these errors were encountered: