GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 94 of 164    Print  
What is the Generation of Garbage Collector ?

  
Total Answers and Comments: 1 Last Update: December 20, 2006     Asked by: sbehera02 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: rayhan21
 

garbage collector has 3 generations 0,1,2

the highest generation is 2. In .net the garbage collector is normally invocked implicitly but you can force the GC explicitly also.

when first generations is fill i.e 0 GEN & your application wants to store some more value then this GC will invocks & check which elements are in use & which are not & delets the unused element if all the elements are in use then all the elements are transfer to little higher level i.e 1 GEN simliarly to 2 GEN when all the generations are filled  & you want to store some more element then GC will throw an exception "memory out of range exception".



Above answer was rated as good by the following members:
surendra_sahu786
December 20, 2006 11:41:00   #1  
rayhan21 Member Since: April 2006   Contribution: 5    

RE: What is the Generation of Garbage Collector ?

garbage collector has 3 generations 0 1 2

the highest generation is 2. In .net the garbage collector is normally invocked implicitly but you can force the GC explicitly also.

when first generations is fill i.e 0 GEN & your application wants to store some more value then this GC will invocks & check which elements are in use & which are not & delets the unused element if all the elements are in use then all the elements are transfer to little higher level i.e 1 GEN simliarly to 2 GEN when all the generations are filled & you want to store some more element then GC will throw an exception memory out of range exception .


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

Which method get called between a object is declared and it is collect by the garbage collector.A)DeleteB)Disposec)FinalizeD)Close
Read Answers (2) | Asked by : singh

Latest Answer : garbage collector has 3 generations 0,1,2 the highest generation is 2. In .net the garbage collector is normally invocked implicitly but you can force the GC explicitly also.when first generations is fill i.e 0 GEN & your application wants to store ...

Latest Answer : Memory Management a part of CLR functionality is a important aspect in .NET. Garbage Collector well known as GC is the one responsible for Memory Management. GC Runs periodically through Managed Heap (Which is divided into 3 Generations) and find ...
Read Answers (4) | Asked by : ravivarma


 Sponsored Links

 
Related Articles

What is 1G - First Generation

1G, which stands for "first generation," refers to the first generation of wireless telecommunication technology, more popularly known as cellphones. A set of wireless standards developed in the 1G technology replaced 0G technology, which featured mobile radio telephones and such
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

HR Interview - How To Prepare For Your HR Interview

How To Prepare For Your HR Interview Before you begin thinking about how you are going to dress for the interview it is important to do your research first You should learn everything you can about the company you wish to work for When you have detailed information about your employer you will conve
 

HR Interview - Telephone Interview Etiquette

Telephone Interview Etiquette When you conduct a telephone interview for a job it is important to show the proper etiquette Not only is it important it is critical is you wish to be hired by the company There are a number of things you will want to do and other things should never be done mosgoogle
 

HR Interview - How To Succeed At HR Interviews

How To Succeed At HR Interviews There are a number of things you will need to do in order to make sure you pass the interview process Your appearance is something that you will want to pay close attention to Even if you feel that your appearance shouldn t be a factor in whether or not you re highere
 

HR Interview - Do's and Dont's in a HR Interview

Do s and Dont s in a HR Interview There are a number of things that you will want to avoid during the HR interview process While some of these things are directed at the interviewer the other things are directed at the applicant If interviewers fail to follow the proper procedures throughout the int
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape