Question:
What do you mean by Garbage Collection in VB.net
Answer:
Garbage collection is the mechanism to release memory from unused objects and components of the application. Source: CoolInterview.com
Answered by: Manoranjan Badajena | Date: 6/10/2008
| Contact Manoranjan Badajena
In .NET Framework, garbage collector is implemented as a separate thread. This thread will always be running at the back end. Since garbage collector always run at the back end there will be extra overhead for the memory. Therefore garbage collector is given the lowest priority in .NET Framework. In .NET Framework, garbage collection system is based on the Mark and Compact algorithm that involves removing of objects that have gone out of scope and compacts all the remaining objects at the beginning of the address space. The space allotted for the application is also referred to as managed heap. When a new object needs to be instantiated and if there is not enough room in the application’s managed heap, the garbage collection process starts.
Source: CoolInterview.com
Answered by: Anil Thomas | Date: 1/29/2009
| Contact Anil Thomas
Garbage collection is the mechanism to release memory allocated by a objects / Veriables which are no longer exists in programme Source: CoolInterview.com
Answered by: Rohit Kanugo | Date: 9/29/2009
| Contact Rohit Kanugo
In .net garbage collector collects the memory of unused objects and allocate memory to used objects Source: CoolInterview.com
Answered by: shashi | Date: 1/21/2010
| Contact shashi
Garbage collector is a service provided by .net framework which releases objects and variables out of scope so that increase the performance of application:) Source: CoolInterview.com
Answered by: Prakash | Date: 6/8/2010
| Contact Prakash
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|