[GH-ISSUE #1787] 13 custom fields renders 4/10 times on ESP8266 #1504

Open
opened 2026-02-28 01:30:20 +03:00 by kerem · 4 comments
Owner

Originally created by @F1p on GitHub (Dec 24, 2024).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1787

I have a reasonable sized project, running 13 custom fields and have an issue on the ESP8266 where 4/10 times the custom fields render blank on refresh (as per screenshots) but issue doesn't seem to impact the ESP32. Any idea's why this might happen?

Screenshot 2024-12-19 133629
Screenshot 2024-12-19 134342

Running the latest master branch,

ESP8266 running
Core version
3.1.2
Boot version
31
CPU frequency
160MHz
Memory - Free heap
12912 bytes available
Memory - Sketch size
Used / Total bytes
489296 / 3143504

Originally created by @F1p on GitHub (Dec 24, 2024). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1787 I have a reasonable sized project, running 13 custom fields and have an issue on the ESP8266 where 4/10 times the custom fields render blank on refresh (as per screenshots) but issue doesn't seem to impact the ESP32. Any idea's why this might happen? ![Screenshot 2024-12-19 133629](https://github.com/user-attachments/assets/a5f8f259-2961-4f43-b57d-15cac21a7fca) ![Screenshot 2024-12-19 134342](https://github.com/user-attachments/assets/96f7d2d9-f508-40b7-935a-026d678a1d6f) Running the latest master branch, ESP8266 running Core version 3.1.2 Boot version 31 CPU frequency 160MHz Memory - Free heap 12912 bytes available Memory - Sketch size Used / Total bytes 489296 / 3143504
Author
Owner

@F1p commented on GitHub (Dec 29, 2024):

Might be an issue improved by adjusting MMU to 16KB Cache + 48K IRAM instead of balanced (32/32K)

<!-- gh-comment-id:2564665797 --> @F1p commented on GitHub (Dec 29, 2024): Might be an issue improved by adjusting MMU to 16KB Cache + 48K IRAM instead of balanced (32/32K)
Author
Owner

@tablatronix commented on GitHub (Dec 30, 2024):

Its probably memory, the html is output as a string on the stack, If you are using alot of params this can be optimized by using chunked outputting and allocated buffers, I think there is an issue here to start looking into it..

#1319
#518

<!-- gh-comment-id:2565714271 --> @tablatronix commented on GitHub (Dec 30, 2024): Its probably memory, the html is output as a string on the stack, If you are using alot of params this can be optimized by using chunked outputting and allocated buffers, I think there is an issue here to start looking into it.. #1319 #518
Author
Owner

@F1p commented on GitHub (Dec 30, 2024):

Its probably memory, the html is output as a string on the stack, If you are using alot of params this can be optimized by using chunked outputting and allocated buffers, I think there is an issue here to start looking into it..

#1319 #518

Thanks, will try chunked response for now

<!-- gh-comment-id:2565721995 --> @F1p commented on GitHub (Dec 30, 2024): > Its probably memory, the html is output as a string on the stack, If you are using alot of params this can be optimized by using chunked outputting and allocated buffers, I think there is an issue here to start looking into it.. > > #1319 #518 Thanks, will try chunked response for now
Author
Owner

@timr49 commented on GitHub (Jun 29, 2025):

Its probably memory, the html is output as a string on the stack, If you are using alot of params this can be optimized by using chunked outputting and allocated buffers, I think there is an issue here to start looking into it..
#1319 #518

Thanks, will try chunked response for now

Hi F1p, not sure how you went with the previous suggestion to try chunked responses. If helps, I developed a chunking enhancement for WiFiManager, which you can get from branch Chunking in the repo https://github.com/timr49/WiFiManager
It is described in https://github.com/timr49/WiFiManager/blob/Chunking/PAGE.md

<!-- gh-comment-id:3016643413 --> @timr49 commented on GitHub (Jun 29, 2025): > > Its probably memory, the html is output as a string on the stack, If you are using alot of params this can be optimized by using chunked outputting and allocated buffers, I think there is an issue here to start looking into it.. > > [#1319](https://github.com/tzapu/WiFiManager/pull/1319) [#518](https://github.com/tzapu/WiFiManager/issues/518) > > Thanks, will try chunked response for now Hi F1p, not sure how you went with the previous suggestion to try chunked responses. If helps, I developed a chunking enhancement for WiFiManager, which you can get from branch Chunking in the repo https://github.com/timr49/WiFiManager It is described in https://github.com/timr49/WiFiManager/blob/Chunking/PAGE.md
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1504
No description provided.