Opened 11 years ago

Closed 11 years ago

Last modified 7 years ago

#814 closed bug (fixed)

RTS always grabs 256Mb on startup

Reported by: simonmar Owned by:
Priority: normal Milestone: 6.6
Component: Runtime System Version: 6.4.1
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

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.

Change History (3)

comment:1 Changed 11 years ago by ei@…

Resolution: fixed
Status: newclosed

Fixed for 6.6

comment:2 Changed 8 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:3 Changed 7 years ago by simonmar

difficulty: Moderate (1 day)Moderate (less than a day)
Note: See TracTickets for help on using tickets.