From: simonmar Date: Mon, 13 Aug 2001 16:33:43 +0000 (+0000) Subject: [project @ 2001-08-13 16:33:43 by simonmar] X-Git-Tag: Approximately_9120_patches~1268 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=a9e20500f853954b0fe4377d3bd6565f0482c75d;p=ghc-hetmet.git [project @ 2001-08-13 16:33:43 by simonmar] Document -c and bring up to date the documentation of -M + n + + + [Default: 30] Automatically enable + compacting collection when the live data exceeds + n% of the maximum heap size + (see the option). Note that the maximum + heap size is unlimited by default, so this option has no + effect unless the maximum heap size is set with + size. + + + + factor RTS option @@ -269,7 +283,7 @@ RTS option heap size, maximum - [Default: 64M] Set the maximum heap size to + [Default: unlimited] Set the maximum heap size to size bytes. The heap normally grows and shrinks according to the memory requirements of the program. The only reason for having this option is to @@ -277,6 +291,14 @@ available swap space, which at the least will result in the program being summarily killed by the operating system. + + The maximum heap size also affects other garbage + collection parameters: when the amount of live data in the + heap exceeds a certain fraction of the maximum heap size, + compacting collection will be automatically enabled for the + oldest generation, and the parameter + will be reduced in order to avoid exceeding the maximum heap + size.