This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: (C++) High memory usage with templates



> 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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]