DigiNews

Tech Watch Articles

← Back to articles

Why is the first C++ (m)allocation always 72 KB?

Quality: 8/10 Relevance: 7/10

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.

🚀 Service construit par Johan Denoyer