Hello Dirk,
You can use GC.Collect and GC.AddMemmoryPressure to tune when GC should start
works.
But, I guess you can't change the cost of GC gens, because when GC starts
collect garbage it freezes all threads - u can't interupt this process.
Everything you can do is to change the GC gen threshold - you need to use
C++ and CLR SDK - IGC* interfaces
What the reasont to bother about cost of GC? Gen0 takes up to 10ms, get1
takes 10-30ms - it's rather acceptably
DR> Both, before and during GC.
DR>
---
WBR,
Michael Nemtsev :: blog:
http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche