|
Re: [GHC] #778: memory leak: msg#00115lang.haskell.glasgow.bugs
#778: memory leak -------------------------+-------------------------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Milestone: 6.4.3 Component: Compiler | Version: 6.4.2 Severity: normal | Resolution: Keywords: memory | Difficulty: Unknown Architecture: Unknown | Os: Linux -------------------------+-------------------------------------------------- Changes (by simonmar): * cc: gcc 4.1.1 & ghc 6.4.2 => Old description: > 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 New description: 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> |
|---|---|---|
| Previous by Date: | Re: [GHC] #778: memory leak, GHC |
|---|---|
| Next by Date: | Re: [GHC] #778: memory leak, GHC |
| Previous by Thread: | Re: [GHC] #778: memory leak, GHC |
| Next by Thread: | Re: [GHC] #778: memory leak, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |