A method for reducing dynamic memory allocation includes designing a software
program
using a memory allocation module for allocating memory, analyzing the software
program to determine a bound on dynamic memory allocation and modifying the program
based on the analyzing. According to one aspect, the program is modified to use
static memory allocation in lieu of dynamic memory allocation based on the analyzing.
According to another aspect, the program is modified to reduce the amount of dynamically
allocated memory based on the analyzing.