[Bug c++/19614] New: Excessive memory consumption

2005-01-24 Thread dmartin at cliftonlabs dot com
Processing the attached file causes g++ to consume about 1.4G of virtual memory
on x86_64.  The same file caused problems on x86 in an earlier release - see bug
#15320.  Also, on my project's mailing list I have seen the implication that
similar issues exist on powerpc:
http://www.cliftonlabs.com/savant/list-archives/savant-users/2004-December/13.html

Please let me know if there is anything I can do to help sort this out.

Here is the output of g++ -v:
Reading specs from /usr/lib/gcc/x86_64-linux/3.4.4/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4
--enable-shared --with-system-zlib --enable-nls --without-included-gettext
--program-suffix=-3.4 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt
--enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm
--enable-java-awt=gtk --disable-werror x86_64-linux
Thread model: posix
gcc version 3.4.4 20041218 (prerelease) (Debian 3.4.3-7)

-- 
   Summary: Excessive memory consumption
   Product: gcc
   Version: 3.4.4
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 host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


[Bug c++/19614] Excessive memory consumption

2005-01-24 Thread dmartin at cliftonlabs dot com

--- Additional Comments From dmartin at cliftonlabs dot com  2005-01-24 
21:00 ---
Created an attachment (id=8056)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8056&action=view)
A file requiring 1.4G of virtual memory to process on g++ 3.4.3


-- 


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


[Bug c++/19614] Excessive memory consumption with a class with large (200) virtual (pure?) function and derived classes

2005-01-27 Thread dmartin at cliftonlabs dot com

--- Additional Comments From dmartin at cliftonlabs dot com  2005-01-27 
13:04 ---
I checked out CVS head on 1/27/2005.  The memory consumption on this file on
x86_64 was "only" 750M.  I don't know if this qualifies as excessive or not so
I'll let someone else close it.

-- 
   What|Removed |Added

 Status|NEW |WAITING


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


[Bug c++/19614] Excessive memory consumption with a class with large (200) virtual (pure?) function and derived classes

2005-01-27 Thread dmartin at cliftonlabs dot com

--- Additional Comments From dmartin at cliftonlabs dot com  2005-01-27 
13:43 ---
As a point of reference, it's using around 550M on x86.  A 50% expansion on a 64
bit architecture (with more registers and opcodes) does not seem completely
unreasonable to me.  So perhaps it's not a backend-specific issue at this point.

-- 


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