[GHC] #8568: internal error: allocation of ... bytes too large
GHC
ghc-devs at haskell.org
Tue Nov 26 16:34:02 UTC 2013
#8568: internal error: allocation of ... bytes too large
------------------------------------+-------------------------------------
Reporter: mojojojo | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Keywords: | Operating System: Unknown/Multiple
Architecture: Unknown/Multiple | Type of failure: None/Unknown
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: |
------------------------------------+-------------------------------------
Running the following GHCi session:
{{{
import GHC.DataSize
import qualified Data.HashTable.IO as HT
import Control.Monad
t <- HT.new :: IO (HT.BasicHashTable Int Char)
forM_ [0..100000] $ \i -> HT.insert t i 'a'
recursiveSize t
}}}
results in the following error:
{{{
<interactive>: internal error: allocation of 1208480 bytes too large (GHC
should have complained at compile-time)
(GHC version 7.6.3 for x86_64_apple_darwin)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
Abort trap: 6
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8568>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list