https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68606
Timo Sirainen <tss at iki dot fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tss at iki dot fi --- Comment #4 from Timo Sirainen <tss at iki dot fi> --- I ran into this issue as well while looking at where all the memory is going to. I've potentially tens of thousands of processes running, and 71 kB of memory per process for something that almost never happens is too expensive. I wouldn't mind std::bad_alloc just killing the process immediately if it happens. So at least having the LIBSTDCXX_EMERGENCY_EH_POOL_SIZE environment would be helpful in future.