Page 1 of 1

Sketch RAM usage

Posted: Sun Jan 03, 2021 12:41 am
by MaxPlus
RAM: [= ] 12.1% (used 39736 bytes from 327680 bytes)

From above, it is the RAM usage display when compiling a sketch. By the way, if I want to get this information while running my sketch dynamically.

Is there an API for supporting to get this info?

Re: Sketch RAM usage

Posted: Tue Jan 05, 2021 8:28 am
by OutOfLine
Have a look at ESP.getFreeHeap();