A method and system for allocating memory to an electronic device (202) is
provided. The method includes providing (404) a first static memory
allocation to each allocation request of a first plurality of allocation
requests. The method also includes determining (406) a mean and a
standard deviation from the first plurality of allocation requests.
Further, the method includes providing (408) a second static memory
allocation to each allocation request of a second plurality of allocation
requests, wherein the second static memory allocation is based on at
least two standard deviations greater than the mean.