I was asked whether it’s efficient to perform a manual garbage collection using GC.Collect() or not!
Actually, it’s better to just let the CLR handle it. However, thereâ€™re few circumstances where manually performing garbage collection is preferred, such as if some non-recurring event has just happened and this event is highly likely to have caused a lot of old objects to die.
More details are available in Rico Marianiâ€™s…
Have a nice weekend!
- 9 Rules about Constructors, Destructors, and Finalizers
- Creating a Stack-Based Array
- [Stats] 97% of machines run Flash, 74% run Java, and 73% run Silverlight
- 10 Years of Wikipedia … Join our celebration in Cairo
- Can you spot the 3 differences between Bing Maps and Google Maps? [Picture]
- Bad Practices: Locking on Non-shared Objects in Multi-threaded Applications
- Windows 7 Developer Guide updated
- Serialization vs. Marshaling