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

A MAJOR PROBLEM - Each page reload takes the free heap down to zero #22

Open
michael-vrba opened this issue Aug 15, 2024 · 3 comments
Open

Comments

@michael-vrba
Copy link

Each page reload takes the free heap down to zero
When I run the demo code, each reload causes the freeheap value to decrease by 1-2 kB. When the value gets close to zero (15x reloads approximately), it causes a loss of function and then eventually a restart of the ESP8266 with an OOM error. Everything can be seen in the picture. How to solve this problem?

oom error no free heap

@michael-vrba michael-vrba changed the title Each page reload takes the free heap down to zero A MAJOR PROBLEM - Each page reload takes the free heap down to zero Aug 19, 2024
@KajWiik
Copy link

KajWiik commented Feb 1, 2025

I could confirm this.

@asjdf
Copy link
Owner

asjdf commented Feb 1, 2025

Due to personal work commitments, I am unable to maintain this project in the short term. If anyone from the community could help fix this issue and submit a PR, it would be greatly appreciated.

@mathieucarbou
Copy link
Contributor

mathieucarbou commented Feb 1, 2025

Everyone: I am maintaining this at https://github.com/mathieucarbou/MycilaWebSerial, kept the UI but rewrote the C++ code entirely for performance reasons. See the 2 examples. The code has diverged a lot and will require some adjustments in your project.

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

4 participants