How to optimize the memory usage of "linking"?

Albert Y. C. Lai trebla at vex.net
Fri Nov 19 15:09:57 EST 2010


On 10-11-19 01:15 AM, Magicloud Magiclouds wrote:
>    When I use ghc to make large project, the almost-final step of
> linking takes a lot of memory. This is horrible on host with little
> memory (i.e. 512MB).
>    Is there any way I can optimize this? Thanks.

I heard there is Gold Linker

http://en.wikipedia.org/wiki/Gold_%28linker%29

Andy Stewart (Manatee author) seems to use it to great success.

In ubuntu the package name is binutils-gold.


More information about the Glasgow-haskell-users mailing list