Memory Management Memory Management Efficient allocation, reallocation and release of heap memory.
Memory is a critical resource in embedded systems.
Not only is the amount of memory important, but CPUs may not provide a MMU or may use a segmented architecture. For this reason software designed for embedded systems needs to be careful how it uses memory. MemPools are used for efficient allocation of small blocks of memory. When the memory is no longer required, all the memory in the memory pool is freed at once. Each memory pool can have a parent memory pool.