Increased memory usage with GHC 7.10.1

Sven Panne svenpanne at
Sun May 3 13:41:25 UTC 2015

2015-05-02 12:01 GMT+02:00 Paolino <paolo.veronelli at>:
> Hello, I succeded in compiling
> on a 32 bit machine with 2GB of memory with ghc 7.10.1. O_O

To alleviate the pain a bit, I've uploaded a new version of OpenGLRaw
( to Hackage, containing 2 improvements:

   * 'foreign import "dynamic"'s with the same signature are re-used,
cutting down their number from 3062 to 864.

   * Those 'foreign import "dynamic"'s live in a separate module now.

Travis CI seems to be happy with these changes (the VMs there don't
have much memory, either), although Haddock still seems to eat memory
like hell. But that's a different story...

It would be nice to hear if the new version improved the situation for
people who previous had trouble.

More information about the Glasgow-haskell-users mailing list