Closed maxbrito500 closed 1 year ago
Hi maxbrito, the flash memory usage of an FTP server is minimal, but the library to manage an FTP like WiFi, WiFiClient, WiFiServer, SPIFFS, or LittleFS, or FFAT, needs to be installed. But In general, if you use an esp32, you already preload that library to serve network requests so It's hidden. Bye Renzo
Hello, thanks.
I already had those installed inside and compiled without issues. It is only when I'm initializing the FTPserver variable that this issue happens. I can't even declare the object for FTP that the memory went overflow.
Hello,
Even though there was ~10% of memory left to use on the ESP Wroom 32 device, when adding SimpleFTPServer this compilation issue comes up:
This is how it looks without initializing the library (but including it nevertheless):
This should give around ~150KB of memory available to write. Is SimpleFTPServer really using more than that?
Is it possible to somehow reduce memory usage or make it fit?
Thank you for helping.