3 ms·
A perfect example of why embedded or safety-critical systems should never dynamically allocate memory from a common pool. Such systems should always preallocat
by colanderman 13y ago
A perfect example of why embedded or safety-critical systems should never dynamically allocate memory from a common pool.
Such systems should always preallocate fixed-size heapsfor each subsystem, each of which can then dynamically parcel out pieces of their own heaps if necessary. This helps limits the damage of any memory leaks in the system.