The testcase in PR 14719 shows that we use a large amount of memory still even on the mainline.
I was just compiling at -O0, 380M seems high to me for this "simple" C++ testcase (yes it is 8000 lines but most of that is comming in from boost's headers so the testcase itself is much smaller). -- Summary: memory consumption is high for C++ testcase Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: memory-hog Severity: minor Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18835