#3099: GHCi eats all my memory, even when loading a blank file
-------------------+--------------------------------------------------------
Reporter: nccb | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.10.1 | Severity: normal
Keywords: | Testcase:
Os: Linux | Architecture: x86_64 (amd64)
-------------------+--------------------------------------------------------
My system is a slightly complicated setup -- I have GHC 6.8.2 installed on
my system via my package manager (portage), but I have GHC 6.10.1
installed in my home directory. The system is a x86-64 Gentoo machine,
3GB RAM (plus 2GB swap).
I can use this system just fine with the ghc executable, building code,
running code, installing packages via cabal and so on.
But I went to run ghci earlier, seemingly for the first time. If I run
ghci on any file (including a blank .hs file), ghci promptly eats up all
my physical RAM and swap (5GB total) and grinds the system to a halt. If
I run it with -v5 (or without flags), the last lines are:
{{{
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
}}}
I accept this may be an artifact of my odd configuration, but I figure
eating 5GB of RAM rather than giving an error message should count as a
bug :-) I'm happy to run more tests as necessary.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3099>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs