[GHC] #5259: Heap used by compacting collector larger than heap used without.
GHC
cvs-ghc at haskell.org
Wed Jun 15 17:16:07 CEST 2011
#5259: Heap used by compacting collector larger than heap used without.
-----------------------+----------------------------------------------------
Reporter: r6 | Owner:
Type: bug | Status: new
Priority: normal | Component: Runtime System
Version: 6.12.3 | Keywords:
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: x86 | Failure: None/Unknown
-----------------------+----------------------------------------------------
When you run a program that slowly accumulates memory with +RTS -M100M -c,
the memory space used by the application will grow to around 200MB and it
will crash with an out of heap error when the live data is around 100MB.
On the other hand if you run the program with +RTS -M100M, the memory
space used by the application will grow to around 100MB and it will crash
with an out of heap error when the live data is around 50MB.
This different interpretation of -Mfoo is confusing for the user. I find
the latter interpretation more natural than the former.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5259>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list