How to determine heap usage?
How to determine heap usage?
Running mp on an ARM using the minimal build. I would like to know if there are any built in methods for analyzing heap usage.
Re: How to determine heap usage?
I suspect you're looking for gc.mem_free(). I think it's implemented for minimal ARM..?
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: How to determine heap usage?
Or micropython.mem_info(), if that's implemented.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.