General area when it fits no where else

Moderator: Mmiscool

User avatar
By robert badiduwitz
#60984 Are there any hard limits to the amount of gui items (i.e., textbox, listbox, dropdown, etc.) that can be used on any given web page that espbasic can serve up? I don't know if the page is stored in a buffer or something that has a limit to its size? Can a webpage using only native espbasic items only, including wprints etc, be too large and cause the unit to not be able to connect a web socket? Any help or insight to this would be greatly appreciated.
User avatar
By Mmiscool
#60986 When using esp basic a catched copy of the page is produced and stored in ram. When a user connects to the device with the web browser it will attempt to send that page. You can run out of ram by using wprint all the time. You can use the ramfree() function to see how much ram is being used and to diagnose when you are nearing the limit that the esp will simply return a blank page.
User avatar
By robert badiduwitz
#61001 Thanks for that info. I will give the ramfree a shot. At what level does the espbasic start to not work, i.e., how much free ram does espbasic need to run correctly at all times?