Error!
Success!

By tag: GC

showing:  of
0
kicks

Pitfalls and Best Practices to prevent them: Object Finalizers  (Unpublished)

A posting talking about the wrong usage of object finalizers (also known as "destructors").


Kicked By:
Drop Kicked By:
0
kicks

How the Garbage Collector works - Part 2  (Unpublished)

Now let’s go deeper to understand how the Garbage Collector (GC) is actually collecting the dead objects and how this may affect the performance.


Kicked By:
Drop Kicked By:
0
kicks

How the Garbage Collector works - Part 1  (Unpublished)

The Garbage Collector (GC) can be considered the heart of the .NET Framework. It manages the allocation and release of memory for any .NET application. In order to create good .NET applications, we must know how the Garbage Collector (GC) works.


Kicked By:
Drop Kicked By:
0
kicks

Things you MUST dispose  (Unpublished)

When the .NET Framework instantiates an object, it allocates memory for that object on the managed heap. The object remains on the heap until it's no longer referenced by any active code, at which point the memory it's using is reclamed by the Garbage Collector (GC). Before the GC deallocates the me...


Kicked By:
Drop Kicked By:
0
kicks

A good reason for calling GC.Collect()  (Unpublished)

Using GC.Collect to verify object destruction in unit tests.


Kicked By:
Drop Kicked By:
0
kicks



Kicked By:
Drop Kicked By:
0
kicks

Top 20 .NET Garbage Collection Articles  (Unpublished)

Ah. Garbage Collection... how I love and hate thee. =P I think one sad thing about programming in .net is that it seems many developers don't know or care anything about garbage collection and memory management. You used to *have* to know about it in order to write bug free code. I suppose it is ...


Kicked By:
Drop Kicked By:
0
kicks

Managing unmanaged memory  (Unpublished)

The title of this post might seem confusing. Garbage Collector (or GC) in .Net is designed to take care of managed memory only, so what do you do in a case where you have a managed object that itself takes very small amount of memory but allocates significant amount of unmanaged resources? In that c...


Kicked By:
Drop Kicked By:
0
kicks

How to Use the Singleton Pattern and the Garbage Collector to Manage a  (Unpublished)

Here's an easy to minimize the overhead of an expensive resource, such as an image or a network connection, using the singleton pattern and some simple hints to the garbage collector.


Kicked By:
Drop Kicked By:
0
kicks

Did it with .NET - Adventures with the Garbage Collector and the JIT O  (Unpublished)

Dan Shechter's code sample that illustrates a certain peculiarity of the .NET garbage collector.


Kicked By:
Drop Kicked By:
0
kicks

A quiz about the .net garbage-collector  (Unpublished)

Tess lists some "potential interview questions" about the .net GC. He lists the answers in a followup post: http://blogs.msdn.com/tess/archive/2007/04/10/net-garbage-collector-popquiz-followup.aspx


Kicked By:
Drop Kicked By:
0
kicks

Adventures with the Garbage Collector and the JIT Optimizer  (Unpublished)

This article delves into a certain peculiarity of the .NET garbage collector. Along the way, it explores IL, optimized JIT-compiled code and even the underlying CLR structures.


Kicked By:
Drop Kicked By: