RTS always grabs 256Mb on startup
Two bugs really:
- on Windows, the RTS always reserves 256Mb of memory on startup.
- to use more than 256Mb, you have to use +RTS -M
I think this is a hangover from the days before HEAP_ALLOCED was implemented with an array lookup; I believe we could now implement MBlock on Windows without these drawbacks.
Trac metadata
Trac field | Value |
---|---|
Version | 6.4.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Runtime System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture | Unknown |