We are waiting for your feedback ! Please write to us at - support@hoventrainings.com
.NET Training Classes in Chandigarh
>> See All Training Courses at Hoven
Can we Force the DOTNET Garbage Collector to Run ? The DOTNET Garbage Collector is responsible for reclaiming un-referenced heap memory and compressing it from time to time. MSDN documentation says that it is not possible to predict the exact time at which the garbage collector will run. In fact, it may not run at all, if your program is too short, for example. However, it
is possible to place a request for running it immediately. It is a
request, but it is generally called 'forcing the garbage collector to run immediately'. You can place this request by calling the static function 'Collect' of the FCl class called GC
GC.Collect();
You can gain an in-depth knowledge of programming languages by joining Hoven's
Six Month Industrial Training in Chandigarh or specific advanced/intermediate/basic trainings like
Post by
Hoven on 04-Nov-2024