.Net 4.0 Changes in Garbage collector

GC.RegisterForFullGCNotification()

It is worth noting that from .NET 3.5SP1, the CLR has a method called GC.RegisterForFullGCNotification() that lets you know when a generation 2 or large heap object collection occurs in your applications. You might want to use this information to route users to a different server until the collection is complete

No comments:

Post a Comment