Coder Social home page Coder Social logo

Comments (6)

mobizt avatar mobizt commented on July 24, 2024

That's because of memory leaks or low free heap.

You should debug your code first and this is not a library issue.

from firebase-esp8266.

mobizt avatar mobizt commented on July 24, 2024

You should read this information.
https://github.com/mobizt/Firebase-ESP8266#memory-options-for-esp8266

If you are using the old version esp8266 sdk, you should update.

from firebase-esp8266.

JoergTiedemann avatar JoergTiedemann commented on July 24, 2024

Hi
thanks for your answer, but I think there must be an issue. I‘ve updated to newest core version but same behavior. My application works for more then one year without any memory leaks or chrash reboot. But if I use the firebase library and i got an error „response payload read timed out“ while writing and bad WiFi connection, I see that the free heap is going down, so I think there is a memory leak in the lib in this case.
Everything works fine if I have free heap from 10,5KB to 11KB, but if heap is going below 8,5KB it chrashed in a very short time.
What is the minimum required free heap and is there any possibility to minimize this ? Could I use http instead of https connections to firebase or could I delete the actual instance of the library and generate a complete new one at runtime if I detect any errors ?
Thanks for your help in forward
Regards joerg

from firebase-esp8266.

mobizt avatar mobizt commented on July 24, 2024

The library was well managed. It is not possible at the current release for memory leaks.

Your device free heap is very critically low which I will never run my esp8266 device in this extremely low memory like this.

Your device should have at least 15-20k when you are using SSL client application. Only 10k is impossible to make SSL client works and the system tasks may fail internally.

You should think again in this issue.

from firebase-esp8266.

JoergTiedemann avatar JoergTiedemann commented on July 24, 2024

Is there any way to use http instead of https connection so ssl is not required ?

from firebase-esp8266.

mobizt avatar mobizt commented on July 24, 2024

I replied in new post.

from firebase-esp8266.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.