This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Lazily allocate varrays
On Wed, 2003-11-26 at 12:59, Gerald Pfeifer wrote:
> On Wed, 26 Nov 2003 law@redhat.com wrote:
> >> BTW, how exactly do you measure *overall* memory consumption?
> > What do you mean by "overall"?
>
> The (maximum) amount of memory actually consumed when running GCC.
>
> > Typically what I'm measuring is the amount of data we're requesting from
> > the GC system. That does not necessarily translate one to one with the
> > amount of memory the GC system requests from the OS.
>
> This shows the two different points of view: for a GCC developer this is
> the most relevant data when tracking down memory usage; for a GCC user,
> the resources consumed on the system are of premier interest.
>
> I can happily report that today was the first day where I managed to
> compile the application behind PR8361 with -O3 without badly affecting
> interactive use on my workstation; that is, your improvements are really
> user visible!
>
I usually watch the system monitor closely as well to see what the
resident memory size of cc1plus is throughout the compilation.
Andrew