Garbage collection manages reclamation of unused memory in .NET - DOT.NET

Explain how garbage collection manages reclamation of unused memory in .NET.

CLR performs garbage collection on small objects and large objects separately. It maintains separate heaps for these two types of objects. Large Objects are maintained in LO

Heap and small objects are kept in multiple heaps which are compacted regularly.

It uses the JIT compiler which provides it the references of live objects indicating that they are alive. The rest of the objects are then subject to garbage collection.

Then the free memory is merged and the occupied memory is compacted so that the live objects are contiguous.
How garbage collection deals with circular references - DOT.NET
Circular referencing issue happens when two objects refer to each other....
What is break mode? What are the options to step through code? - DOT.NET
When changes are made to the code in an application, the way to be able to view how those changes have changed the way of execution is Break Mode....
Debug Vs Trace - DOT.NET
Debug statement can only be used in debug mode while trace statement can be used both in debug and released mode.....
Post your comment