Skip to content

GHC 7.10 dies with "out of memory"

I'm trying to build my library with cabal 1.22 and ghc-7.10.0.20141222 but it ultimately crashes with ghc: out of memory (requested 2097152 bytes). The VM I've used to build it has 8gb of RAM. The same library compiles fine with ghc 7.8.3 so I guess it is a GHC bug.

Unfortunately I'm not able to reduce it to a simple case or relate it to a previous bug. The build log can be seen at travis-ci and the source code is freely available so it should be easy to reproduce

Trac metadata
Trac field Value
Version 7.10.1-rc1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information