[chbot] Does anyone know how much free memory an ESP32 has?

Andrew Dachs dachsa492 at gmail.com
Sun Sep 20 22:21:38 BST 2020

Sounds about right though I’m not sure you can go over the 1MB boundary with code. Ive not hit that yet so haven’t dug too deep. You can use it for filesystem but think code requires cached pages that is not in the arduino framework. 

Sent from my iPhone

> On 21/09/2020, at 8:36 AM, Daniel Powell <danielvieway at hotmail.com> wrote:
> While very rudimentary this may give you some impression.
> Using the Arduino IDE and WiFi library, specifically the WiFiClientTest (so full stack), no OTA on a 2mb esp32 pico (M5StickC).
> Sketch uses 633974 bytes (30%) of program storage space. Maximum is 2097152 bytes.
> Global variables use 38760 bytes (11%) of dynamic memory, leaving 288920 bytes for local variables. Maximum is 327680 bytes.
> Regards,
> Daniel.
> From: Chchrobotics <chchrobotics-bounces at lists.ourshack.com> On Behalf Of Charles Manning
> Sent: Monday, 21 September 2020 7:50 AM
> To: Christchurch Robotics <chchrobotics at lists.ourshack.com>
> Subject: [chbot] Does anyone know how much free memory an ESP32 has?
> Hi All
> I expect there are some C-using ESP32 programmers out there...
> I am thinking of doing some experiments with the ESP32 that will indeed quite a lot of RAM.
> The ESP32s have 512bB of RAM (+ 8kB RTC RAM). but substantial amounts of that are used by the wireless stack(s).
> DOes anyone know how much is left for application use?
> Thanks
> CHarles
> _______________________________________________
> Chchrobotics mailing list Chchrobotics at lists.ourshack.com
> https://lists.ourshack.com/mailman/listinfo/chchrobotics
> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
> Meetings usually 3rd Monday each month. See http://kiwibots.org for venue, directions and dates.
> When replying, please edit your Subject line to reflect new subjects.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/chchrobotics/attachments/20200921/291e34ee/attachment-0001.html>

More information about the Chchrobotics mailing list