Limiting compile time memory usage?

Steve Kargl sgk@troutmask.apl.washington.edu
Sat Dec 23 23:42:00 GMT 2006


On Sat, Dec 23, 2006 at 02:32:50PM -0800, Steve Kargl wrote:
> On Sat, Dec 23, 2006 at 10:51:12PM +0100, Harald Anlauf wrote:
> > Steve Kargl wrote:
> > >There is the --param option that allows one to adjust various
> > >internal constants.  You might be able to play with a number
> > >of the values list in gcc.info.
> > 
> > I counted ~90 parameters in that section.  Not all of them
> > even specify their default values.  Which ones would be the
> > most effective for a highly modularized Fortran project?
> > 
> 
> Harald,
> 
> One of the gcc developer suggested adding -fmem-report or -ftime-report
> to determine where the memory usage is occurring.  Can you try these
> on one or more of your problematic files.
> 

Harald, the same developer suggested a bug report about excessive
memory usage may be in order.  Can you submit a code example that
shows the problem?

-- 
Steve



More information about the Fortran mailing list