Mozilla uses C++ mainly as "extended C" - due to compatibility concerns.
Try compiling something like Qt/KDE/gtk-- which are really heavy on
templates (with all the benefits and drawbacks of that).
My code here is quite template heavy, and I suspect that's what's triggering
it. In fact, I can't compile our development code with optimization, because
GCC runs out of memory (it only allocates some 300-500 MB, but each page has
it's own map in /proc/pid/maps, and a wc -l /proc/pid/maps doesn't finish for
minutes). My typical GCC eats 100-200 MB and runs for several minutes.
You should benchmark this particular case with code that makes GCC eat
lots of memory, 100MB or more. I've never seen Mozilla really make GCC
eat that much memory - other projects do.
-- ................................................................ : jakob@unthought.net : And I see the elder races, : :.........................: putrid forms of man : : Jakob Østergaard : See him rise and claim the earth, : : OZ9ABN : his downfall is at hand. : :.........................:............{Konkhra}...............: - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/