https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113504
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=117276 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- There was a memory leak in the parallel std::sort when using the TBB backend, see Bug 117276. That might have been the cause of the high memory usage you're seeing, although I don't think that bug was present in GCC 10. You didn't provide any way to replicate your observations, so could you try it again with the latest code from the gcc-15, gcc-14, or master branches in Git?