[GHC] #14272: GHC goes out of memory while compiling simple program with optimizations
GHC
ghc-devs at haskell.org
Mon Sep 25 12:53:16 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):
It seems like things go off the rails during the core-to-core phase,
{{{
$ ghc hi.hs -O -v3
...
*** Worker Wrapper binds [Main]:
Result size of Worker Wrapper binds
= {terms: 221, types: 143, coercions: 17, joins: 0/7}
!!! Worker Wrapper binds [Main]: finished in 0.25 milliseconds, allocated
0.166 megabytes
*** Simplifier [Main]:
Result size of Simplifier iteration=1
= {terms: 227, types: 138, coercions: 17, joins: 1/3}
ghc: Out of memory
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14272#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list