<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">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. <div>Andy</div><div><br><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On 21/09/2020, at 8:36 AM, Daniel Powell <danielvieway@hotmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">While very rudimentary this may give you some impression.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Using the Arduino IDE and WiFi library, specifically the WiFiClientTest (so full stack), no OTA on a 2mb esp32 pico (M5StickC).
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><br>
Sketch uses 633974 bytes (30%) of program storage space. Maximum is 2097152 bytes.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Global variables use 38760 bytes (11%) of dynamic memory, leaving 288920 bytes for local variables. Maximum is 327680 bytes.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Regards, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Daniel. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Chchrobotics <chchrobotics-bounces@lists.ourshack.com>
<b>On Behalf Of </b>Charles Manning<br>
<b>Sent:</b> Monday, 21 September 2020 7:50 AM<br>
<b>To:</b> Christchurch Robotics <chchrobotics@lists.ourshack.com><br>
<b>Subject:</b> [chbot] Does anyone know how much free memory an ESP32 has?<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi All<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I expect there are some C-using ESP32 programmers out there...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I am thinking of doing some experiments with the ESP32 that will indeed quite a lot of RAM.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">The ESP32s have 512bB of RAM (+ 8kB RTC RAM). but substantial amounts of that are used by the wireless stack(s).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">DOes anyone know how much is left for application use?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">CHarles<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
<span>_______________________________________________</span><br><span>Chchrobotics mailing list Chchrobotics@lists.ourshack.com</span><br><span>https://lists.ourshack.com/mailman/listinfo/chchrobotics</span><br><span>Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/</span><br><span>Meetings usually 3rd Monday each month. See http://kiwibots.org for venue, directions and dates.</span><br><span>When replying, please edit your Subject line to reflect new subjects.</span></div></blockquote></div></body></html>