[GHC] #12492: internal error: allocation of 1048608 bytes too large

GHC ghc-devs at haskell.org
Mon Aug 15 16:21:29 UTC 2016


#12492: internal error: allocation of 1048608 bytes too large
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.0.2
       Component:  Runtime System    |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 @erikd the message indicates that somehow the compiled program attempted
 to allocate 1048608 in one go, which is supposed to cause a compile-time
 error.  It is not related to whether the data being processed is static or
 dynamic, but has to do with how the compiled code allocates memory.

 I don't know what's causing it, but it shouldn't be too hard to track down
 - find out which bit of code is causing the offending allocation, and find
 out why GHC didn't detect the overlarge allocation at compile-time.

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


More information about the ghc-tickets mailing list