This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15320] New: Excessive memory consumption
- From: "dmartin at cliftonlabs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2004 15:29:35 -0000
- Subject: [Bug c++/15320] New: Excessive memory consumption
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I work on an LGPL VHDL front-end and code generator called savant. It is
implemented in C++. We've been using g++-3.3 as our primary compiler for
the last few months. With the annoucement of version 3.4 I have installed
g++-3.4 to experiment with. (I run Debian Gnu/Linux, and I compiled the
experimental packages on my "woody" box.) Overall I have found it to be
faster, more strict, and other good things so I was planning on moving to
it.
On one of our branches I noticed a problem. Several files that compile
using "normal" amounts of memory - not in excess of 400M of virtual memory
- require more than 2G of virtual memory to compile with g++ 3.4. These
source files do include a large and complex class heirarchy - one of the
classes is a factory for example, so it #includes a large number of files.
But 2G seems indicative of a problem.
--
Summary: Excessive memory consumption
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dmartin at cliftonlabs dot com
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15320