[GHC] #8941: Module that causes GHC-7.8 to exhaust memory compiled with -O2

GHC ghc-devs at haskell.org
Sat Mar 29 22:06:32 UTC 2014


#8941: Module that causes GHC-7.8 to exhaust memory compiled with -O2
------------------------------------+---------------------------------
       Reporter:  guest             |             Owner:
           Type:  bug               |            Status:  new
       Priority:  normal            |         Milestone:
      Component:  Compiler          |           Version:  7.8.1-rc2
       Keywords:                    |  Operating System:  Linux
   Architecture:  Unknown/Multiple  |   Type of failure:  None/Unknown
     Difficulty:  Unknown           |         Test Case:
     Blocked By:                    |          Blocking:
Related Tickets:                    |
------------------------------------+---------------------------------
 The module is JSON.Render in http://src.seereason.com/o2bug.  When
 compiled ghc uses up at least 16GB of RAM and then dies.  I haven't been
 able to simplify it very much, almost any change to JSON.Render causes it
 to start working properly.  I did get it to fail using only packages
 available in hackage.

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


More information about the ghc-tickets mailing list