[GHC] #15503: interpreter: sequence_ (replicate 100000000 (return ())) gobbles up memory
GHC
ghc-devs at haskell.org
Mon Nov 19 05:33:39 UTC 2018
#15503: interpreter: sequence_ (replicate 100000000 (return ())) gobbles up memory
-------------------------------------+-------------------------------------
Reporter: int-e | Owner: osa1
Type: bug | Status: new
Priority: high | Milestone: 8.8.1
Component: GHCi | Version: 8.5
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Runtime | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by osa1):
With Phab:D5351 we can run retainer profiler on ghci so I tried this with
`ghci +RTS -hb` and used 50000000 as the input. I've attached the raw
output and a .svg generated with hp2pretty. It's not too helpful: the
`SYSTEM` retainer is retaining GBs of data but we don't have more details
on what the retainer is.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15503#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list