In C and C++, it can be very convenient to allocate and de-allocate blocks of memory as and when needed. This is certainly standard practice in both languages and almost unavoidable in C++. However, ...
Limiting the amount of RAM used by the TCP/IP stack in embedded systems improves the device’s security and reliability.