Hi,
thanks for the report. The handling of heap overflows
on your platform has been cleaned up in the current
sources, see:
http://haskell.org/pipermail/glasgow-haskell-bugs/2003-October/003699.html
http://haskell.org/pipermail/cvs-ghc/2003-October/018987.html
--sigbjorn
- Original Message -
From: "Ben Rudiak-Gould" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 14, 2003 00:07
Subject: internal error: RTS exhausted max heap size (GHC 6.0.1)
> Athlon, Windows 2000, 512MB RAM, GHC 6.0.1 installed from
> www.haskell.org/ghc/dist/6.0.1/ghc-6-0-1.msi.
>
> > copy con bug.hs
> import Data.Array.IO (IOUArray)
> import Data.Array.MArray (newArray)
> import Data.Word (Word8)
>
> emptyArray :: IO (IOUArray Int Word8)
> emptyArray = newArray (1,1600) 0
>
> main = undefined
> ^Z
> > ghci bug.hs
>___ ___ _
> / _ \ /\ /\/ __(_)
> / /_\// /_/ / / | | GHC Interactive, version 6.0.1, for Haskell 98.
> / /_\\/ __ / /___| | http://www.haskell.org/ghc/
> \/\/ /_/\/|_| Type :? for help.
>
> Loading package base ... linking ... done.
> Compiling Main ( bug.hs, interpreted )
> Ok, modules loaded: Main.
> *Main> foo <- newArray (1,1600) 0 :: IO (IOUArray Int Word8)
> *Main> bar <- emptyArray
> : internal error: RTS exhausted max heap size (268435456
bytes)
>
> Please report this as a bug to [EMAIL PROTECTED],
> or http://www.sourceforge.net/projects/ghc/
>
>
> The "foo <-" line also runs far more slowly than I'd expect it to.
>
>
> -- Ben
>
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs