[GHC] #2747: Excessive Memory Usage: space leak with foldl' on
Integer
GHC
trac at galois.com
Thu Nov 6 06:11:35 EST 2008
#2747: Excessive Memory Usage: space leak with foldl' on Integer
--------------------------------------+-------------------------------------
Reporter: guest | Owner: simonmar
Type: run-time performance bug | Status: new
Priority: normal | Milestone: 6.10.2
Component: Runtime System | Version: 6.10.1
Severity: blocker | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown/Multiple
Os: Unknown/Multiple |
--------------------------------------+-------------------------------------
Changes (by simonmar):
* difficulty: => Unknown
* milestone: => 6.10.2
Comment:
Testing the fix right now. We discovered the cause: basically the RTS
isn't triggering a GC often enough, because some accounting got
accidentally removed during some other refactoring. Large objects aren't
being counted when deciding whether to GC, so a program that allocates all
or mostly large objects can use a large amount of memory between GCs.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2747#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list