[Bug c++/12850] [3.4 Regression] memory consumption for heavy template instantiations tripled since 3.3

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 5 06:58:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-05 06:58 -------
I think the problem is that 3.4 is not able to collect garbage while instantiating the 
templates.  Calling ggc_collect while instantiating the templates and at the right level, I 
get
{GC 95280k -> 45466k}
which shows that it gets rid of half of the memory but it crashes right after doing that.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12850



More information about the Gcc-bugs mailing list