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

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to