Free RAM on MicroPython boards

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
rcolistete
Posts: 83
Joined: Thu Dec 31, 2015 3:12 pm

Re: Free RAM on MicroPython boards

Postby rcolistete » Sat Nov 12, 2016 5:40 pm

rcolistete wrote:
Roberthh wrote:Today's commit for ESP8266 increased the heap and this the available RAM by 8k.

Thanks. Hope to see it in v1.8.6. Constrained RAM is one of the limitations of ESP8266, so this increase will be very useful.

Tested today MicroPython v1.8.6-7 on ESP8266, after soft reset we have 29312 bytes (versus 20000 bytes in v1.8.5-10) with WebREPL not enabled :

Code: Select all

>>> import gc
>>> gc.collect()
>>> gc.mem_free()
29312

Or 27568 bytes with WebREPL enabled.

Bravo, MicroPython ESP8266 developers !

Updated 1st post.

User avatar
bmarkus
Posts: 105
Joined: Tue Oct 21, 2014 5:58 am

Re: Free RAM on MicroPython boards

Postby bmarkus » Sun Dec 18, 2016 2:22 pm

With the new LoPy 1.0.0.b1 fw free RAM is reduced again, now it is 51k only
Tiny Core Linux (piCore) developer
HAM radio call: HA5DI (Béla)

User avatar
bmarkus
Posts: 105
Joined: Tue Oct 21, 2014 5:58 am

Re: Free RAM on MicroPython boards

Postby bmarkus » Fri Jan 06, 2017 7:45 am

LoPy 1.2.0b1 firmware introduced new features, which is great. And as usual, free RAM reduced again, now it is 26k. There are many promised but not yet implemented features. Curious, whether RAM will go away totally before finalizing firmware or there will be 1-2K left for everything else.
Tiny Core Linux (piCore) developer
HAM radio call: HA5DI (Béla)


Return to “General Discussion and Questions”

Who is online

Users browsing this forum: chrismas9 and 4 guests