[GHC] #15503: interpreter: sequence_ (replicate 100000000 (return ())) gobbles up memory

GHC ghc-devs at haskell.org
Wed Sep 5 14:33:01 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):

 Note to self: I think running the interpreter with profiled compiler
 should show us what's retaining all the extra objects in newer GHCs, but I
 currently can't build the compiler in prof way (the build seems to be
 broken). I'll try to see what's wrong with the build..

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15503#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list