Increased memory usage with GHC 7.10.1

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


2015-05-02 12:01 GMT+02:00 Paolino <paolo.veronelli at gmail.com>:
> Hello, I succeded in compiling
> https://hackage.haskell.org/package/OpenGLRaw-2.4.1.0/docs/src/Graphics-Rendering-OpenGL-Raw-Functions.html
> 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
(2.5.0.0) 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