out of memory when running haddock
David Waern
david.waern at gmail.com
Thu Oct 9 18:35:00 EDT 2008
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.
David
More information about the Cvs-ghc
mailing list