This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[MEMORY]How can i check for ram memory usage in runtime

Hi everyone,

I am currently working with NRF52833 and SDK 17.0. Everythings went pretty well, however, now i need to have some memory check in runtime since i used a lot of malloc and calloc along the way. I can see that there is a memory manager inside the SDK but i can not enable the nrf_mem_diagnose() function in the code( i did try but it have a problem with the snprintf function used in mem_manager.h and the NRF_LOG_BYTES_DEBUG()). So, i want to ask if there is some way i can use to measure the current consumption of ram in my code in runtime either by the built in mem_manager or by any other means.

Thank you very much

Parents Reply Children
No Data
Related