Advertisement
- There is no way to find this out.
- You cannot. GC.Collect() is a blocking method, and will return only once the garbage collector is done running.
- by calling GC.WaitForFullGCComplete()
- by calling GC.WaitForPendingFinalizers()
Join our list
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.