15 October 2025 by Phillip JohnstonTable of Contents: Visualizing Memory Allocation Allocation Schemes Common System Policies Problems Arising from Dynamic Memory Allocation Runtime Problems Structural Problems Implementations References Visualizing Memory Allocation Here are some useful articles that explain how memory allocation typically works, including helpful diagrams and other visualizations. Visual overview of a custom malloc() implementation Memory Allocation, an article that includes a visual overview of how dynamic memory allocation works Allocation Schemes First-fit Free List Buddy Allocation Slab allocation Fixed-size block allocation (Memory pools) Intrusive containers (lists, maps, etc.) Individual elements put into the container store all the metadata …
Continue reading “Memory Allocation”
