Answer the question
In order to leave comments, you need to log in
Is transfer between SOH and LOH possible in .NET?
SOH (small object heap), LOH (large object heap). The documentation says that LOH stores objects whose size is greater than 85000 bytes. Two questions immediately arise from this - does the CLR move from SOH to LOH those objects that have bloated during their lifetime and vice versa, does it move from LOH to SOH when the size of the object decreases below the limit?
Answer the question
In order to leave comments, you need to log in
No, this does not happen, because the size of objects simply cannot change during operation.
The object is either immediately large or not immediately large
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question