Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
In basic, I replicate the phenomenon you mentioned, further, I use the below code to find that MCUXpreso IDE can display the increasing heap usage.
I'll report the phenomenon to the IDE team for further checking soon later.
for(uint32_t i = 1; i < 5; i++)
{
int *array = (int*)malloc(32*sizeof(int)*i);
if (NULL == array)
{
return -1;
}
free(array);
array = NULL;
}
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------