This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12850] [3.4/3.5 Regression] memory consumption for heavy template instantiations tripled since 3.3
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jan 2004 16:35:20 -0000
- Subject: [Bug c++/12850] [3.4/3.5 Regression] memory consumption for heavy template instantiations tripled since 3.3
- References: <20031030234001.12850.jens.maurer@gmx.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-27 16:35 -------
The only memory leak I had was from shorten_branches in final.c which I have a fix for
now but that does account for the 60M difference between GC and real allocated
memory (even though I suspect there are large amounts of pages still allocated because
the GC is spread all over them). Also malloc only accounts for 20M.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12850