[sgen] Option for an allowance limit.
commitfeb8a124aade27cca76e108310960a327adab8b3
authorMark Probst <mark.probst@gmail.com>
Wed, 13 Jul 2011 17:07:52 +0000 (13 19:07 +0200)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 1 Feb 2012 22:00:02 +0000 (1 20:00 -0200)
treed10eb51bf09d3989ff7cb5180a41cd31cfd2e6be
parent2af9b700552ea9d26390bf3c85d2ef72c4a22fa9
[sgen] Option for an allowance limit.

The metric for deciding when to trigger a major collection assumes
that there's unlimited memory, so it does, especially since it's
probably buggy and certainly not very smart, sometimes allow too much
allocation to happen.  This new option is a way to tell SGen where to
draw the line.  Note that memory will still be allocated, it's just
that once the limit is overstepped, major collections happen more
frequently to keep memory usage down.
man/mono.1
mono/metadata/sgen-gc.c