[GHC] #14272: GHC goes out of memory while compiling simple program with optimizations

GHC ghc-devs at haskell.org
Mon Sep 25 12:51:18 UTC 2017


#14272: GHC goes out of memory while compiling simple program with optimizations
-------------------------------------+-------------------------------------
        Reporter:  39aldo39          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Wow, indeed I can reproduce,
 {{{
 $ ghc hi.hs -O
 [1 of 1] Compiling Main             ( hi.hs, hi.o )
 ghc: Out of memory

 $ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 8.2.1
 }}}
 Fascinating.

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


More information about the ghc-tickets mailing list