简体   繁体   English

是否收集了大对象堆

[英]Is Large Objects heap collected

I cant find information about Large Objects Heap.我找不到有关大对象堆的信息。 Everywhere is wrote that it isn't fragmented.到处都写着它不是碎片化的。 But I heard that isn't collected.不过听说没收。

I cant find some article which provide me this information.我找不到一些为我提供这些信息的文章。

So, is LOH collected (dead instances removed from memory) or isn't?那么,是否收集了 LOH(从内存中删除了死实例)?

The large object heap is collected as well.大对象堆也被收集。 I don't know where it says that it isn't fragmented.我不知道它在哪里说它没有碎片化。 That's not true.这不是真的。 It isn't compacted by default though.但是默认情况下它不会被压缩。

If you want to override the default behavior you can set the LargeObjectHeapCompactionMode flag, but keep in mind that compacting a large heap can be very time consuming.如果您想覆盖默认行为,您可以设置LargeObjectHeapCompactionMode标志,但请记住,压缩大堆可能非常耗时。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM