Increased memory usage with GHC 7.10.1
paolo.veronelli at gmail.com
Mon May 4 06:02:30 UTC 2015
Hello, compiling 2.5.0 on (linux 4.0.1, 64 bit) and ghc 7.10.1 with
/usr/bin/time -f %M gives values between 2.3 GB and 2.6 GB on multiple runs.
(2.4.1 was requesting more than 3 GB, cannot say how much precisely)
2015-05-03 16:45 GMT+02:00 George Colpitts <george.colpitts at gmail.com>:
> 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 gmail.com> wrote:
>> 2015-05-02 12:01 GMT+02:00 Paolino <paolo.veronelli at gmail.com>:
>> > 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
>> (126.96.36.199) 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 haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Glasgow-haskell-users