Rajanikant Hawaldar
What is the large object heap?

What is the large object heap?

By Rajanikant Hawaldar in .NET on Jul 14 2021
  • Rajeev Kumar
    Mar, 2023 17

    If an object is greater than or equal to 85,000 bytes in size, it’s considered a large object. Large objects pose a special problem for the runtime: they can’t be reliably moved by copying as they would require twice as much memory for garbage collection. Additionally, moving multi-megabyte objects around would cause the garbage collector to take an unreasonably long time to complete.

    • 0
  • Prasad Kulkarni
    Sep, 2021 3

    The .NET garbage collector (GC) divides objects up into small and large objects. When an object is large, some of its attributes become more significant than if the object is small. For instance, compacting it—that is, copying it in memory elsewhere on the heap—can be expensive. Because of this, the garbage collector places large objects on the large object heap (LOH)

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS