http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375
--- Comment #127 from Mike Hommey <mh+gcc at glandium dot org> 2012-05-11 08:52:24 UTC --- (In reply to comment #126) > (In reply to comment #124) > > > Just for comparison, clang with -O4 runs only single threaded and does > > > everything in memory (no streaming out). It uses 3.5GB of memory (peak) > > > and > > > takes 19 minutes to finish... > > > > Interesting. Micsofot's compiler is also barely in 4GB space, right? > > IIRC Mozilla recently switched to a 64-bit toolchain on windows, because the > 32-bit linker ran out of memory. So they are above 4GB already. There is unfortunately no cross-linker in MSVC, so you can't link 32-bit binaries with a 64-bit toolchain. We're in the process of switching to 64-bits OS with a 32-its toolchain, which will allow an extra gigabyte of address-space. We've gone past the current 3GB limit a couple times now, at which point, we moved some stuff out of libxul. Before that, we hit the 2GB limit, at which point we used the /3GB option that allows for the extra GB.