logo       

[GHC] #778: memory leak: msg#00109

lang.haskell.glasgow.bugs

Subject: [GHC] #778: memory leak

#778: memory leak
-----------------------+----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.4.2
Component: Compiler | Version: 6.4.2
Severity: normal | Keywords: memory
Difficulty: Unknown | Architecture: Unknown
Os: Linux |
-----------------------+----------------------------------------------------
I have the same program using both ghci and ghc. ghci gives:

___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.4.2, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.

ghc-6.4.2: out of memory (requested 1048576 bytes)

and ghc gives:
ghc -ignore-package Cabal --make -Wall -fno-warn-unused-matches -cpp -i.
-odir dist/tmp -hidir dist/tmp Setup.lhs -o setup
ghc-6.4.2: out of memory (requested 1048576 bytes)

I have 2 gigs of ram, and 3 of swap. When I run ghci, my free memory
quickly drops from ~1.9 Gb to less than 10 Mb, at which point, I get the
out of memory error.
I'm running gentoo on my laptop, with gcc 4.1.1 and kernel 2.6.17-rc1-mm2

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/778>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise