#4029: ghci leaks memory when loading a file
---------------------------------+------------------------------------------
Reporter: blarsen | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.12.3
Component: GHCi | Version:
Keywords: memory leak | Difficulty:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: Compile-time performance bug
---------------------------------+------------------------------------------
Changes (by simonmar):
* cc: judah.jacob...@… (added)
Comment:
Making Haskeline's `InputT` monad more strict fixes this, though I only
have a vague idea of what's going on (the heap profiler doesn't work with
GHCi). Poking around in the heap I found that data from previous
compilations appears to be hung onto by chains of thunks originating in
the `InputT` monad.
Judah: could this lead to any problems? (see attached patch for
Haskeline)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4029#comment:3>
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