Explain about managed heap?



Explain about managed heap?..

Answer / Ghananand Yadav

The managed heap is a part of the Common Language Runtime (CLR) in .NET. It is used to manage memory allocation and deallocation for objects created during runtime. The garbage collector, another component of the CLR, automatically manages the managed heap by collecting and freeing up memory that is no longer needed.nnWhen an object is created, it is allocated on the managed heap. As long as there are references to the object, it remains on the heap. Once all references to an object are lost, the garbage collector can collect and free up the memory occupied by the object.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?

1 Answers  


Explain what is the difference between odbc and ado?

1 Answers  


Give a brief introduction on side-by-side execution. Can two applications, one using private assembly and the other using the shared assembly be stated as side-by-side executables?

1 Answers  


What is the advantage of .net core?

1 Answers  


How do you turn off cookies for one page in your site?

3 Answers   Siebel Systems,


How do you handle Start, Pause, Continue and Stop calls from SCM within your application?

1 Answers  


What is reflection in microsoft .net context?

1 Answers  


What versions of .net are there?

1 Answers  


What data providers available in .net to connect to database?

1 Answers  


Explain the difference between asp.net & vb.net and explain architecture?

1 Answers  


What is managed code and managed data in .net?

1 Answers  


What is the difference between task and thread in .net?

1 Answers  


Categories