If i add more than 60 properties with the ArduinoCloud.addProperty my esp 8266 device crashes with a Decoder Error. It seems like its maxing out. How can this be fixed?
Thanks
Daniel
If i add more than 60 properties with the ArduinoCloud.addProperty my esp 8266 device crashes with a Decoder Error. It seems like its maxing out. How can this be fixed?
Thanks
Daniel
Adding properties increases memory consumption (each property requires additional memory in addition to the mere data storage to be handled under the hood) so it's normal that at some point your device will run out of memory, and 60 properties on a ESP8266 seems quite a lot already.
Can you consider upgrading to a more powerful board?
(BTW I would be curious to hear what is your use case!)
I think your on ball with that. And yes ive already ordered a couple of esp32. Many thanks for confirming what i thought. I use the device to store alot of settings which control 2 extractor fans one in, one out based on temperature and humidty sensor readings.
Why would setting up 80 + vars cause on the esp 8266 to crash arduino cloud deccoder under load. Surely arduinos code must be using lots of local memory to create these varibles which arent linked or tied to anything on the device yet.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.