public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12850] New: memory consumption for heavy template instantiations tripled since 3.3
@ 2003-10-30 23:42 jens dot maurer at gmx dot net
  2003-10-30 23:43 ` [Bug c++/12850] " jens dot maurer at gmx dot net
                   ` (43 more replies)
  0 siblings, 44 replies; 47+ messages in thread
From: jens dot maurer at gmx dot net @ 2003-10-30 23:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: memory consumption for heavy template instantiations
                    tripled since 3.3
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jens dot maurer at gmx dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

When compiling the attached program with g++ 3.3, the compiler takes about 80 MB
of main memory on Intel/x86. When compiling it with g++ 3.4, the compiler takes
> 400 MB and eventually crashes (potentially due to the Linux kernel killing
processes due to out-of-memory).
Since standard libraries are different between 3.3 and 3.4, I provide two
preprocessed files.  (This is boost random number library random_test.cpp.)

g++ -v rt-3.3.ii
[...]
Configured with: ../gcc-3.3/configure --prefix=/usr/local --enable-threads
--enable-shared
Thread model: posix
gcc version 3.3
(ok)

/opt/exp/gcc-3.4/bin/g++ -v rt-3.4.ii
[...]
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


^ permalink raw reply	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2005-07-24  3:36 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-30 23:42 [Bug c++/12850] New: memory consumption for heavy template instantiations tripled since 3.3 jens dot maurer at gmx dot net
2003-10-30 23:43 ` [Bug c++/12850] " jens dot maurer at gmx dot net
2003-10-30 23:44 ` jens dot maurer at gmx dot net
2003-10-31  0:04 ` jens dot maurer at gmx dot net
2003-10-31  1:39 ` [Bug c++/12850] [3.4 Regression] " pinskia at gcc dot gnu dot org
2003-12-19  9:41 ` pinskia at gcc dot gnu dot org
2004-01-14 11:37   ` Jan Hubicka
2004-01-14 11:38   ` Jan Hubicka
2003-12-29 17:55 ` pinskia at gcc dot gnu dot org
2004-01-05  6:43 ` pinskia at gcc dot gnu dot org
2004-01-05  6:58 ` pinskia at gcc dot gnu dot org
2004-01-05  7:29 ` pinskia at gcc dot gnu dot org
2004-01-06 23:18 ` pinskia at gcc dot gnu dot org
2004-01-07  7:27 ` pinskia at gcc dot gnu dot org
2004-01-07  8:03 ` steven at gcc dot gnu dot org
2004-01-10 13:36 ` hubicka at gcc dot gnu dot org
2004-01-10 17:12 ` pinskia at gcc dot gnu dot org
2004-01-13 23:59 ` cvs-commit at gcc dot gnu dot org
2004-01-14 11:34 ` cvs-commit at gcc dot gnu dot org
2004-01-14 11:37 ` hubicka at ucw dot cz
2004-01-14 11:38 ` hubicka at ucw dot cz
2004-01-14 18:12 ` pinskia at gcc dot gnu dot org
2004-01-27 13:14 ` [Bug c++/12850] [3.4/3.5 " cvs-commit at gcc dot gnu dot org
2004-01-27 16:35 ` pinskia at gcc dot gnu dot org
2004-01-27 16:37 ` hubicka at ucw dot cz
2004-01-29  0:34 ` cvs-commit at gcc dot gnu dot org
2004-01-30 11:46 ` cvs-commit at gcc dot gnu dot org
2004-01-31 12:01 ` cvs-commit at gcc dot gnu dot org
2004-02-01 13:01 ` cvs-commit at gcc dot gnu dot org
2004-02-14 14:27 ` hubicka at gcc dot gnu dot org
2004-02-14 14:38 ` hubicka at ucw dot cz
2004-03-21 18:58 ` [Bug c++/12850] " mmitchel at gcc dot gnu dot org
2004-05-05 23:31 ` hubicka at gcc dot gnu dot org
2004-07-04 23:35 ` pinskia at gcc dot gnu dot org
2004-09-23 18:17 ` pinskia at gcc dot gnu dot org
2004-09-27  4:02 ` pinskia at gcc dot gnu dot org
2004-12-03  3:02 ` pinskia at gcc dot gnu dot org
2004-12-11 17:43 ` pinskia at gcc dot gnu dot org
2004-12-21  3:33 ` pinskia at gcc dot gnu dot org
2004-12-21  5:53 ` pinskia at gcc dot gnu dot org
2004-12-23 12:20 ` steven at gcc dot gnu dot org
2004-12-23 14:42 ` gdr at integrable-solutions dot net
2004-12-28 16:43 ` pinskia at gcc dot gnu dot org
2004-12-29 12:57 ` steven at gcc dot gnu dot org
2004-12-29 13:10 ` steven at gcc dot gnu dot org
2005-07-23 22:32 ` pinskia at gcc dot gnu dot org
2005-07-24  4:50 ` gdr at integrable-solutions dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).