https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113504
--- Comment #4 from Ruben Laso <ruben.laso at tuwien dot ac.at> --- (In reply to Jonathan Wakely from comment #3) > 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? I created an issue (https://github.com/llvm/llvm-project/issues/78956), but I had no response yet, unfortunately. You can get the code I mentioned here: https://github.com/ruben-laso/parallel-std-sort-report I'll try to test this again in the next few weeks with more recent versions of GCC.
