Get the total minimum free memory of all regions with the given capabilities This adds all the low watermarks of the regions capable of delivering the memory with the given capabilities.
Bitwise OR of MALLOC_CAP_* flags indicating the type of memory
Return value
Amount of free bytes in the regions
Notes
Note the result may be less than the global all-time minimum available heap of this kind, as "low watermarks" are tracked per-region. Individual regions' heaps may have reached their "low watermarks" at different points in time. However, this result still gives a "worst case" indication for all-time minimum free heap.
Examples
heap_caps_get_minimum_free_size() is referenced by 7 libraries and example projects: