F
Frank Rizzo
As I understand it, the .NET framework places objects on the Large
Objects Heap (LOH) if they are over 85kb in size.
So for an object like
public class MyClass
{
private byte[] largeArray = new byte[100000];
}
the MyClass object will go to the regular managed heap, while largeArray
object will end up on the LOH. This suggests that it is really
difficult to know which pieces of a real life object will go to LOH,
since the Parent does not necessarily go to LOH.
With this in mind, if I load a DataSet that that contains 100MB of data,
what exactly (if anything) goes to LOH?
Also, how can I see this LOH allocation using the CLR Profiler.
Regards
Objects Heap (LOH) if they are over 85kb in size.
So for an object like
public class MyClass
{
private byte[] largeArray = new byte[100000];
}
the MyClass object will go to the regular managed heap, while largeArray
object will end up on the LOH. This suggests that it is really
difficult to know which pieces of a real life object will go to LOH,
since the Parent does not necessarily go to LOH.
With this in mind, if I load a DataSet that that contains 100MB of data,
what exactly (if anything) goes to LOH?
Also, how can I see this LOH allocation using the CLR Profiler.
Regards