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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to