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: Steinar Bang <sb at metis dot no>
- Subject: Re: (C++) High memory usage with templates
- From: joel at OARcorp dot com
- Date: Thu, 3 Dec 1998 07:36:24 -0600 (CST)
- cc: egcs at cygnus dot com
On 2 Dec 1998, Steinar Bang wrote:
> >>>>> Joe Buck <jbuck@Synopsys.COM>:
>
> >> Will these changes affect linking speed when creating laaarge
> >> shared libs? That's where my bottleneck currently is. This takes
> >> up to one minute for creating a 15MB .so on my PII300 (w/128MB of
> >> RAM).
I don't know if it is relevant but there are a couple of files in the
powerpc simulator included with gdb that are (AFAIK) plain C that take an
enormous amount of resources to compile. I have seen a Linux box with 256
Mbytes RAM thrash trying to compile this file with optimization on. This
occurs when you configure psim to --enable-sim-inline. Perhaps this
indicates a problem that is not entirely C++ specific. Someone more
knowledgeable about psim and gcc can tell me if I am way off base here.
--joel
Joel Sherrill Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985