Why is the first C++ (m)allocation always 72 KB?
Summary
The article explains why the first C++ allocation is consistently 72 KB, tying it to the libstdc++ emergency pool for exception handling. It covers how the emergency pool is allocated early, how its size is computed and tunable, and how this impacts debugging tools like Valgrind.