"ld" memory usage
David Terei
davidterei at gmail.com
Sun Apr 18 02:20:07 EDT 2010
You could also have a look at the new 'Gold' linker that's part of
binutils. Not sure if this has been tested before with ghc but its
meant to have far greater performance (in time is what I've heard, not
sure about memory) then 'ld' and be a drop in replacement.
On 17 April 2010 00:00, Roman Beslik <beroal at ukr.net> wrote:
> Hi.
> This is not strictly a GHC question. I observed that "ld" when linking
> GHC-compiled programs eats 0.5 GB of resident memory. ~3 times more than GHC
> or Haddock. So if there is not enough free memory "ld" uses virtual memory
> and works very slowly (practically does not use CPU). I'd like to know, is
> anyone interested in researching and improving memory usage? Is it "ld" or
> GHC problem? I found a similar discussion here
> http://article.gmane.org/gmane.comp.lang.haskell.cafe/66189
> but it was too broad and went nowhere.
>
> --
> Best regards,
> Roman Beslik.
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
More information about the Glasgow-haskell-users
mailing list