Microsoft MakeCode

Read free memory at runtime

Anyway of reading available RAM at runtime? The Python forums suggested reading heap size but I don’t see a way of doing that with makecode/JavaScript.

There’s support for control.gcStats() coming soon to Arcade. Not sure if and when it will land in microbit.

See https://github.com/microsoft/pxt/pull/6384/commits/f34525db059612a05bda60ebc302fb4b52bc80b1