<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Great, thanks!<br>
<br>
I'll also have a look at other saving options. The RT core size is
just 1308 bytes, already including 512 bytes for metrics pointers.
So names seem to count.<br>
<br>
Btw: the bluetooth stack eats up 64K of RAM when compiled in…<br>
<a class="moz-txt-link-freetext" href="https://www.esp32.com/viewtopic.php?t=3139">https://www.esp32.com/viewtopic.php?t=3139</a><br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 30.10.2017 um 03:38 schrieb Mark
Webb-Johnson:<br>
</div>
<blockquote type="cite"
cite="mid:D69682A9-BE51-4CB1-ACF5-DD066BF99B69@webb-johnson.net">
<div class="">So, a reasonable saving of 10KB.</div>
<div class=""><br class="">
</div>
<div class="">I tried with memory and task debugging turned off,
and we get m.freeram 118888/98200 going to 121884/104932.</div>
<div class=""><br class="">
</div>
<div class="">With the optimised OvmsMetrics code, RT seems to be
allocating memory as follows:</div>
<div class=""><br class="">
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding:
0px;" class="">
<div class="">
<div class=""><font class="" face="Andale Mono"><span
style="font-size: 18px;" class="">Free 8-bit
85812/246632, 32-bit 18576/43548, numafter = 1000</span></font></div>
<div class=""><font class="" face="Andale Mono"><span
style="font-size: 18px;" class="">task=Asy total= 0
20616 24972 change= +0 +20616 +0</span></font></div>
</div>
</blockquote>
<div class=""><br class="">
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
</body>
</html>