logo       

RE: GHC running out of memory, surprisingly.: msg#00076

lang.haskell.glasgow.bugs

Subject: RE: GHC running out of memory, surprisingly.


> Yes, I know functional languages are memory hogs, but really!
>
> The following is on linux
>
> # ghci
> ___ ___ _
> / _ \ /\ /\/ __(_)
> / /_\// /_/ / / | | GHC Interactive, version 6.0, for Hask
> / /_\\/ __ / /___| | http://www.haskell.org/ghc/
> \____/\/ /_/\____/|_| Type :? for help.
>
> Loading package base ... linking ... done.
> Prelude> :module + Foreign.Marshal.Alloc
> Prelude Foreign.Marshal.Alloc> b1 <- mallocBytes 1000
> Prelude Foreign.Marshal.Alloc> b2 <- reallocBytes b1 0
> *** Exception: resource exhausted
> Action: realloc
> Reason: out of memory

Fixed, thanks for the report.

Cheers,
Simon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise