[Haskell-cafe] Memory-aware Haskell?

Gwern Branwen gwern0 at gmail.com
Fri Dec 25 09:45:29 EST 2009

On Fri, Dec 25, 2009 at 5:14 AM, Svein Ove Aas <svein.ove at aas.no> wrote:
> On Thu, Dec 24, 2009 at 11:38 PM, Roman Cheplyaka <roma at ro-che.info> wrote:
>> So, let's think what we can do at runtime. Suppose RTS takes the parameter --
>> upper limit of consumed memory. When it sees that memory consumption is
>> close to upper bound, it can:
>> 1. force garbage collection
> This is already implemented. See the -M RTS option.

Correct me if I'm wrong - it's been a while since I tried to use the
-M option to deal with Gitit memory usage on darcs.net - but doesn't
-M just kill the program after it reaches a set RAM, and doesn't
trigger any GCs?


More information about the Haskell-Cafe mailing list