Dynamic memory allocation — how malloc actually finds you space
What happens inside the heap every time a program asks for memory at runtime, and the internal fragmentation cost hiding in every allocation.
8 min readUpdated 2026-09-03operating-systemsmemory-allocationheapmalloc