#2747: Excessive Memory Usage: space leak with foldl' on Integer
-----------------------------------------+----------------------------------
Reporter: guest | Owner: nominolo
Type: run-time performance bug | Status: assigned
Priority: normal | Milestone:
Component: Runtime System | Version: 6.10.1
Severity: blocker | Resolution:
Keywords: | Testcase:
Architecture: Unknown/Multiple | Os: Unknown/Multiple
-----------------------------------------+----------------------------------
Changes (by nominolo):
* status: new => assigned
* owner: => nominolo
Comment:
Here's a small abstract of the output when run debugged RTS and {{{+RTS
-Dg}}} (GC debugging):
{{{
allocated 1 megablock(s) at 0xae00000
allocated 1 megablock(s) at 0xaf00000
allocated 1 megablock(s) at 0xb000000
allocated 1 megablock(s) at 0xb100000
allocated 1 megablock(s) at 0xb200000
allocated 1 megablock(s) at 0xb300000
GC (gen 0): 151940 KB to collect, 152 MB in use, using 1 thread(s)
Memory inventory:
gen 0 blocks : 37859 blocks (147 MB)
gen 1 blocks : 4 blocks (0 MB)
nursery : 128 blocks (0 MB)
retainer : 0 blocks (0 MB)
arena blocks : 0 blocks (0 MB)
exec : 0 blocks (0 MB)
free : 617 blocks (2 MB)
total : 38608 blocks (150 MB)
alloc new todo block 0x6d08000 for step 1
GC thread 0 working
scavenging block 0x6d08000 (gen 0, step 1) @ 0x6d08000
scavenged 40 bytes
GC thread 0 idle (0 still running)
GC thread 0 finished.
GC thread 0 working
}}}
As you can see, it's adding megablocks (1MB) to the first generation.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2747#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs