out of memory when running haddock
Simon Marlow
marlowsd at gmail.com
Fri Oct 10 07:43:01 EDT 2008
David Waern wrote:
> 2008/10/9 David Waern <david.waern at gmail.com>:
>> I've now managed to reduce memory usage from 1000 M to 350 M at its
>> peak when processing the ghc package, by interleaving typechecking
>> with interface creation. I use pretty printing to fully evaluate the
>> Interface structure at each round.
>
> Getting memory usage down further seems hard since the GHC API --make
> mode alone (when simply discarding typechecking output) peaks at 300 M
> of memory usage when processing ghc.
Right, I expect you're at the limit there. We hope to do another round of
profiling of GHC during the next release cycle, so hopefully we'll be able
to get that 300M down, and Haddock should benefit.
Cheers,
Simon
More information about the Cvs-ghc
mailing list