Adsense HTML/JavaScript

Tuesday, August 18, 2020

MicroPython (ESP32): micropython.mem_info() to get memory information

 The function mem_info() of micropython module Print information about currently used memory. If the verbose argument is given then extra information is printed.

The information that is printed is implementation dependent, but currently includes the amount of stack and heap used. In verbose mode it prints out the entire heap indicating which blocks are used and which are free.

ref: https://docs.micropython.org/en/latest/library/micropython.html?highlight=mem_info#micropython.mem_info




No comments:

Post a Comment