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

David Burkitt daveyboy17nz at gmail.com
Mon Sep 21 05:24:39 BST 2020


I'm using the esp-idf rather than arduino and I've gone over the 1MB
boundry. I don't have any real indication of free memory though.
Dave

On Mon, 21 Sep 2020, 14:39 Charles Manning, <cdhmanning at gmail.com> wrote:

> Thanks all
>
> It sounds like there will be enough for my purposes (~150kB RAM + ~40kB
> code).
>
> On Mon, Sep 21, 2020 at 9:22 AM Andrew Dachs <dachsa492 at gmail.com> wrote:
>
>> 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.
>> Andy
>>
>> 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.
>>
>> _______________________________________________
>> 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.
>
> _______________________________________________
> 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/5bdb26e2/attachment-0001.html>


More information about the Chchrobotics mailing list