David Waern wrote:
2008/10/9 David Waern <[EMAIL PROTECTED]>:
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
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc