Determine free RAM on the Zero?

Hi guys,

is there a way to determine the amount of free RAM left on the Zero, like the Adafruit freeRam() function does for AVR Arduinos?

I seem to have a stack corruption issue here and would like to see the RAM vanishing, if any.

Hi @Miq1,

I've used this library successfully on the Zero: GitHub - mpflaga/Arduino-MemoryFree: basic functions and example to use show used RAM and use less of it.

Note, you might have to download the master version from Github to get it to work.

@sandeepmistry: thanks a lot, that saved my day! :slight_smile: