On Mon, 2004-05-03 at 12:56, Marcus wrote:
> Also, my general obsevation for garbage collectors is that Collect() should be 
> interpreted as a hint to the GC that now would be a good time to collect. 

It should be further noted that calling System.GC.Collect() should be
avoided if at all possible.

See:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenetchapt05.asp

(Search for "Avoid Calling GC.Collect".)

The short version is that .NET's GC system is self-tuning.  Manually
calling Collect() will alter its statistics, which can adversely affect
application performance.

 - Jon


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to