public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <bug-12850-1824@http.gcc.gnu.org/bugzilla/>]
* [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
                   ` (18 more replies)
  0 siblings, 19 replies; 26+ 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] 26+ messages in thread

end of thread, other threads:[~2013-03-06 10:54 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-12850-4@http.gcc.gnu.org/bugzilla/>
2012-08-28  8:13 ` [Bug c++/12850] memory consumption for heavy template instantiations tripled since 3.3 steven at gcc dot gnu.org
2013-03-06 10:54 ` rguenth at gcc dot gnu.org
     [not found] <bug-12850-1824@http.gcc.gnu.org/bugzilla/>
2007-09-20 14:09 ` rguenth at gcc dot gnu dot org
2007-09-20 14:10 ` rguenth at gcc dot gnu dot org
2007-09-20 14:11 ` rguenth at gcc dot gnu dot org
2008-09-06 14:13 ` hubicka at gcc dot gnu dot org
2009-02-23 16:29 ` hubicka at gcc dot gnu dot org
2003-10-30 23:42 [Bug c++/12850] New: " 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
2004-03-21 18:58 ` 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).