GHC 7.10 dies with "out of memory"
I'm trying to build my library with
cabal 1.22 and
ghc-220.127.116.1141222 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