ITPUB
Nov 7, 2016 · Databases
Inside MySQL’s MEM_ROOT: How Memory Allocation Really Works
This article provides an in‑depth technical walkthrough of MySQL’s MEM_ROOT memory allocator, covering the key macros, the MEM_ROOT and USED_MEM structures, initialization and allocation routines, pointer‑manipulation logic, and the heuristic algorithm that grows block sizes as usage increases.
CDatabase InternalsMEM_ROOT
0 likes · 8 min read
