#5729: ForeignPtr leak in ghci
-------------------------------+--------------------------------------------
Reporter: judahj | Owner:
Type: bug | Status: closed
Priority: normal | Component: GHCi
Version: 7.2.1 | Resolution: duplicate
Keywords: | Os: MacOS X
Architecture: x86_64 (amd64) | Failure: None/Unknown
Testcase: | Blockedby:
Blocking: | Related:
-------------------------------+--------------------------------------------
Changes (by judahj):
* status: new => closed
* resolution: => duplicate
Comment:
OK, it turns out this was an instance of #917. GHC was turning the
infinite list into a CAF. When the program was run from the command-line,
the initial parts of that list could be garbage collected since they would
only be used once. But when the program was run from within GHCi, the
entire list would be retained since the program might be run multiple
times in the same session.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5729#comment:1>
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