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

GHC ghc-devs at haskell.org
Mon Aug 22 21:15:14 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 rwbarton):

 Simon, is that true even in view of the fact that `ghc-heap-view` contains
 Cmm that calls `ALLOC_PRIM_P` directly? (https://github.com/nomeata/ghc-
 heap-view/blob/master/cbits/HeapViewPrim.cmm#L27)

 It's not clear to me how custom Cmm is supposed to allocate heap objects
 that might be either small or large, with small objects allocated into the
 nursery for efficiency.

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


More information about the ghc-tickets mailing list