[sgen] Option for an allowance limit.
authorMark Probst <mark.probst@gmail.com>
Wed, 13 Jul 2011 17:07:52 +0000 (19:07 +0200)
committerMark Probst <mark.probst@gmail.com>
Wed, 13 Jul 2011 17:08:43 +0000 (19:08 +0200)
commit3e50ef333b20ab20ecec0379425e2818ef0515f8
treee33f1abbea0ded8ed4c3758fa528853d9a7d1caf
parent044e88a03671924e88317062a2a91533e3af9b94
[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