ekmett / profunctors

Haskell 98 Profunctors
http://hackage.haskell.org/package/profunctors
Other
70 stars 43 forks source link

profunctors-4.4 requires excessive amounts of RAM with GHC 7.10.1-rc1 #20

Closed peti closed 9 years ago

peti commented 9 years ago

While compiling Compiling Data.Profunctor.Unsafe at http://hydra.cryp.to/build/608380/nixlog/7/raw, the ghc process goes on allocating memory until it's finally killed by the Linux kernel:

Out of memory: Kill process 8052 (ghc) score 936 or sacrifice child
Killed process 8052 (ghc) total-vm:46687868kB, anon-rss:29845192kB, file-rss:712kB

Previous versions of the library did not trigger that behavior.

markwright commented 9 years ago

Same here with profunctors-4.4.1 ghc 7.10.1-rc1, while compiling Data.Profunctor.Unsafe ghc virtual memory size was growing, reaching 23GB when I had to reboot.

ekmett commented 9 years ago

Can you try with the second release candidate?

ekmett commented 9 years ago

There were some problems with Coercible in the first RC as I recall.

Twinside commented 9 years ago

I can confirm this behavior with GHC 7.10RC2 under windows x64, got the problem this morning.

hvr commented 9 years ago

Fwiw, I didn't see the issue with

The Glorious Glasgow Haskell Compilation System, version 7.10.0.20150307
glguy commented 9 years ago

You'll need to update your GHC to the 7.10 branch, at least until rc3. There have been fixes to the type system related to Coercible since then. It will be good to update and help test these new fixes.

peti commented 9 years ago

Where can I find rc3? The latest I see on https://downloads.haskell.org/~ghc/ is rc2.

cocreature commented 9 years ago

rc3 is not yet released. Afaik the plan is to release it on friday.

markwright commented 9 years ago

profunctors-4.4.1 builds fine with ghc 7.10.1 rc3 (on Gentoo linux amd64), thanks.

ekmett commented 9 years ago

Closing this out as it should work from here on out.