Increased memory usage with GHC 7.10.1

George Colpitts george.colpitts at
Sun May 3 14:45:24 UTC 2015

I think this helps quite a bit. Although it still peaks briefly at over 3
GB mem usage on my Mac according to the Activity Monitor it seems to spend
much of its time using 400 - 800 mb memory use. I can't be sure as I never
tried to compile this before. I'm compiling by simply doing cabal install
.... Not sure what optimization levels that uses, I assume -O1

On Sun, May 3, 2015 at 10:41 AM, Sven Panne <svenpanne at> wrote:

> 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.
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Glasgow-haskell-users mailing list