Page 2 of 2

Re: bbc micro:bit memory problem

Posted: Tue Oct 25, 2016 8:29 pm
by fizban
I guess Pythoncoder is referring to the issue described in here: viewtopic.php?f=16&t=1876

The microbit adaptation seems to have a heap of 2423 bytes:

from mprun.c (https://github.com/bbcmicrobit/micropyt ... it/mprun.c)

// allocate the heap statically in the bss
static uint32_t heap[9692 / 4];

So I guess we are more prone to reach the limit sooner than with the other boards.

The persistent bytecode functionality described by pythoncoder at viewtopic.php?t=1776 is a little bit beyond by current level...

Re: bbc micro:bit memory problem

Posted: Mon Nov 13, 2017 7:38 pm
by rhubarbdog
Would plotlist not be smaller if it were made up of tuples rather than lists?