#5897: GHC runtime task workers are not released with C FFI -------------------------------+-------------------------------------------- Reporter: sanketr | Owner: Type: bug | Status: closed Priority: highest | Milestone: 7.4.2 Component: Runtime System | Version: 7.4.1 Resolution: fixed | Keywords: worker, ffi Os: Unknown/Multiple | Architecture: x86_64 (amd64) Failure: None/Unknown | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: #4262 -------------------------------+-------------------------------------------- Changes (by simonmar):
* status: new => closed * resolution: => fixed Comment: I looked into your example again. Although the RTS was not keeping all the OS threads around, it ''was'' retaining information about each OS thread that had been used as a worker in the past, and this was being printed in the output of `+RTS -s`. Since keeping around all this information could constitute a space leak, I've dropped it (see the commit above). The example program above used to leak space over time, now it runs in constant space. The per-Task stats weren't particularly useful anyway, even for me. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5897#comment:12> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs