Ticket #5259 (closed bug: worksforme)
Heap used by compacting collector larger than heap used without.
| Reported by: | r6 | Owned by: | simonmar |
|---|---|---|---|
| Priority: | high | Milestone: | 7.2.1 |
| Component: | Runtime System | Version: | 6.12.3 |
| Keywords: | Cc: | ||
| Operating System: | Linux | Architecture: | x86 |
| Type of failure: | None/Unknown | Difficulty: | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
