[GHC] #7702: Memory Leak in CoreM (CoreWriter)
GHC
cvs-ghc at haskell.org
Fri Mar 8 01:41:59 CET 2013
#7702: Memory Leak in CoreM (CoreWriter)
-------------------------------------------+--------------------------------
Reporter: afarmer | Owner:
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.2
Resolution: | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Compile-time performance bug | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
-------------------------------------------+--------------------------------
Comment(by ezyang):
In the second patch, you should either use {{{liftIO $ evaluate w3}}}, or
move the seq inside the {{{return}}}, on the principle of #5129. I think
both would eliminate the space leak but I'm not sure which is more
semantically correct in this case.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7702#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list