You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#10093 pointed out MemoryError problems on ESP32-C3 when using adafruit_httpserver. The amount of free RAM available on startup is ~83 kB, and that must be shared between the VM heap and ESP-IDF needs like mbedTLS.
For instance, if an HTTPS server is started, about 33 kB of system heap is needed for the listening socket, and about 26 kB more for each connected client. That leaves minimal space for program, libraries and data.
We might consider freezing some network libraries to make this chip more usable.
Activity
lynt-smitka commentedon Nov 14, 2026
Summarized numbers by Claude from my ESP32-C3 tests on 11.0.0-alpha.2, with adafruit_httpserver and HTTPS:
server.start()fails even with 98 KB free. The heap doubles from 63 to 126 KB for a 3 KB object.wrap_sockettakes 22.8 KB up front, also for the listening socket.This works on the released firmware. The server starts and two more TLS sockets fit: