Peak memory usage seems to be around 550MB now, which may just be
below the threshold to swapping for 32 bit systems with 1GB RAM.  It's
probably worse on 64 bit systems, though.

2008/10/10 Simon Marlow <[EMAIL PROTECTED]>:
> 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
>

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to