"ld" memory usage

Roman Beslik beroal at ukr.net
Fri Apr 16 10:00:38 EDT 2010


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.



More information about the Glasgow-haskell-users mailing list