First of all I printf the heap memory available with:
Code: Select all
heap_caps_get_free_size(MALLOC_CAP_8BIT)
Code: Select all
HEAP SIZE FREE 189956
Code: Select all
if((buffer=(char *)malloc(15000*sizeof(char)))==NULL)
printf("NO MEMORY");
1) is 10KB max size buffer tx client http?
2)if I got 180KB+ of free memory..why can't use 15KB or more with malloc?
3) using MALLOC_CAP_8BIT the correct way to know how much free memory got?
Hope someone respond this question
Regards
Gastón