JMU
Memory Allocation in C
An Overview


Prof. David Bernstein
James Madison University

Computer Science Department
bernstdh@jmu.edu


Memory Allocation for Different Entities
Some Dynamic Memory Management Functions in C
Some Other Memory-Related Functions in C
An Often-Overlooked Issue
Memory Management Functions Not Dicussed (And to be Avoided)
Alignment
Memory Managers
Memory Managers (cont.)