From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1723 invoked by alias); 14 Jan 2004 11:37:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1708 invoked by alias); 14 Jan 2004 11:37:35 -0000 Date: Wed, 14 Jan 2004 11:37:00 -0000 Message-ID: <20040114113735.1706.qmail@sources.redhat.com> From: "hubicka at ucw dot cz" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20031030234001.12850.jens.maurer@gmx.net> References: <20031030234001.12850.jens.maurer@gmx.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/12850] [3.4 Regression] memory consumption for heavy template instantiations tripled since 3.3 X-Bugzilla-Reason: CC X-SW-Source: 2004-01/txt/msg01530.txt.bz2 List-Id: ------- Additional Comments From hubicka at ucw dot cz 2004-01-14 11:37 ------- Subject: Re: [3.4 Regression] memory consumption for heavy template instantiations tripled since 3.3 > > ------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-19 08:43 ------- > It goes up to abot >480MB on powerpc-apple-darwin, then drops to around 250MB. I can get about 30MB at -O0, for unit-at-a-time we however still needs 250MB, this is the size of all templates instantiated together. I don't think we can reduce this for 3.4 further and it is no longer regression, in the future we may make trees more compact. This testcase has also interesting runtime properties, Mark may want to look at the for_each_template_param_r problem. Honza > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12850 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12850