Joel Siks personal blog

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

Why is my first C++ (m)allocation always 72 KB?? It’s the ’emergency pool’ for exceptions, here’s how I uncovered it using GDB and digging through the source code of libstdc++, glibc and Valgrind!
Points
131
HN comments
36
Submissions
1
Cited by
0 commenters

Software EngineeringSystems & Performance2026

On Hacker News

SubmittedTitle on HNPointsComments
Mar 1, 2026Why is the first C++ (m)allocation always 72 KB? by joelsiks13136

Related posts from the same era