Webserver.send ... Only good for a few bytes?

I must of seen 500 crashes... Mostly wdt and stack overflows when I construct a large string of HTML and try to send. It crashes on the subsequent server handleclient call, not the send, for some reason. No sketch as this is my mobile. Is server.send not good for 3 to 5kB strings? Seems reasonable size for a webpage with marked up data tables such as mine. It is on an ESP32, starting off from the basicauth example.

No sketch

means no answers, so stop asking.