This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: (C++) High memory usage with templates
- To: Klaus-Georg dot Adams at chemie dot uni-karlsruhe dot de (Klaus-Georg Adams)
- Subject: Re: (C++) High memory usage with templates
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Mon, 30 Nov 98 19:27:50 PST
- Cc: chrisb at sandy dot force9 dot co dot uk, egcs at cygnus dot com
> You haven't seen anything yet: when I try to compile examples from the
> blitz library (http://monet.uwaterloo.ca/blitz/) I see memory usages
> of about 400M from cc1plus.
Which C++ version are you using? Early egcs versions as well as g++2.8.1
are particularly greedy for complex templates, but later versions are
better.