When working with .Net, it is important to understand how the garbage collector works.

The .Net CLR manages two different heaps, the small object heap (SOH) and the large object heap (LOH).

This article will focus on how the runtime manages the large object heap, and why the large object heap is prone to memory fragmentation that can impact the performance of your application.
It will also discuss the best practices you can use to keep LOH memory fragmentation to a minimum.The garbage collector is quite adept at cleaning up resources that are no longer being used by your application. However, the small object heap and the large object heap work differently. Let’s start with the small object heap.To read this article in full or to leave a comment, please click here

Leave a Reply