
#9971: GHC 7.10 dies with "out of memory" -------------------------------------+------------------------------------- Reporter: albertov | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1-rc1 Keywords: | Operating System: Linux Architecture: x86_64 | Type of failure: Compile-time (amd64) | crash Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | -------------------------------------+------------------------------------- I'm trying to build my [https://github.com/meteogrid/sigym4-geometry 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 [https://travis- ci.org/meteogrid/sigym4-geometry/builds/46370766 travis-ci] and the source code is freely available so it should be easy to reproduce -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9971 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler