
25 Dec
2009
25 Dec
'09
2:45 p.m.
On Fri, Dec 25, 2009 at 5:14 AM, Svein Ove Aas
On Thu, Dec 24, 2009 at 11:38 PM, Roman Cheplyaka
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? -- gwern