Open
Description
Request
Document which classes/functions use dynamic memory.
Motivation
Developers often avoid or minimize use of dynamic memory in embedded system, to avoid memory fragmentation or overflow, to aid in determinism, etc. Also, an easy way to manage external memory is to make all dynamic allocations go there, and to have all static/stack allocations go to internal memory.
Developers should be able to choose consciously whether and when to use dynamic memory. Thus we need to know when the OS is using it.