Difference between 3rd gen objects and large object heap
What is the difference between large object heap and GC 3rd generation objects? The LOH (Large Object Heap) is a single heap where large objects are allocated directly and stay there until they are collected. Objects are directly allocated into the LOH based on their size e.g. being equal or greater than 85000 bytes. Generational objects are "small" objects that are allocated into the SOH (Small Object Heap) which is a single heap. Objects in the SOH have an associated generation which denotes how many collections they have survived up to the maximum generation e.g. 2. As the generation number