The ESP32-S3 has 192KB more SRAM (512KB total) compared to the ESP32-S2 (320KB total). We may want to consider increasing pystack and possibly also the max number of sockets.
I think there is one case where this is done for a specific board, and I think it's possible to do for a port in the port config files, but this would be for the ESP32-S3 chip only.
The ESP32-C3 has 400KB SRAM.