[Haskell-cafe] OOM when linking, increasingly a problem

Magnus Therning magnus at therning.org
Wed Dec 21 07:06:45 CET 2011


I've started to run out of memory when linking certain packages.  The
culprits at the moment are crypto-api (Crypto.CPoly) and
Agda-executable.

A bit of searching revealed that adding

    ghc-options: -dynamic

to the Agda-executable .cabal could allow me to link that package.
And it worked.

crypto-api is a library package, so I some similar trick isn't really
a possibility there :(  Is there anything I can do about this?

System: Linux (ArchLinux)
GHC version: 7.0.3

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

Most software today is very much like an Egyptian pyramid with
millions of bricks piled on top of each other, with no structural
integrity, but just done by brute force and thousands of slaves.
     -- Alan Kay
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111221/d21db5cc/attachment.pgp>


More information about the Haskell-Cafe mailing list