[Haskell-cafe] Re: How much of Haskell was possible 20 years ago?
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Mon Oct 22 19:16:12 EDT 2007
On Mon, 2007-10-22 at 10:05 -0700, Jeremy Shaw wrote:
> > >> I like Haskell, and use it as my main
> > >> language. However, compiling a Haskell program
> > >> usually takes a lot of memory and CPU.
>
> Last night I was running top, and noticed cc1 consuming 101MB of RAM
> :) I have also seen ar (the thing that makes .a files) consume > 512MB
> of RAM.
You need to upgrade your binutils! I sent in a patch to binutils to fix
exactly this problem that ar/ranlib takes so much memory when building
large ghc "split-objs" libraries. The fix got included in binutils 2.17.
I do hope Linspire is using a version with the fix ;-).
Duncan
More information about the Haskell-Cafe
mailing list