[GHC] #12425: With -O1 and above causes ghc to use all available memory before being killed by OOM killer

GHC ghc-devs at haskell.org
Tue Dec 6 01:53:17 UTC 2016


#12425: With -O1 and above causes ghc to use all available memory before being
killed by OOM killer
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:
            Type:  bug               |               Status:  merge
        Priority:  high              |            Milestone:  8.0.3
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:  Inlining
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Compile-time      |            Test Case:
  performance bug                    |  perf/compiler/T12425
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by erikd):

 I built a compiler from git HEAD, but that wouldn't build the dependencies
 for my library (numerous problems with the primitve and vector libraries).

 I tried checking out the `ghc-8.0` branch and then cherry-picking commit
 d03e41b4f5 but that failed due to merge conflicts in
 `compiler/simplCore/OccurAnal.hs` that seem rather tricky to resolve.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12425#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list