Based on my experience, ESP32 eats memory, RAM and Flash, like crazy.
This became more and more with each new version of ESP-IDF
If you need to have WIFI and BLE, I would recommend ESP32 with additional memory
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Based on my experience, ESP32 eats memory, RAM and Flash, like crazy.
This became more and more with each new version of ESP-IDF
If you need to have WIFI and BLE, I would recommend ESP32 with additional memory