mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
For a given group of heaps sharing the same capabilities, it is best to use smaller heaps first when performing "small" allocations to keep the bigger heaps untouched. This prevents the scenario where a series of small allocations would crowd the bigger heaps making any bigger allocation fail for lack of space. Closes https://github.com/espressif/esp-idf/issues/13588