OutOfMemoryException when a lot of memory is available

后端 未结 10 1216
悲哀的现实
悲哀的现实 2021-02-19 03:38

We have an application that is running on 5 (server) nodes (16 cores, 128 GB Memory each) that loads almost 70 GB data on each machine. This application is distributed and serve

10条回答
  •  爱一瞬间的悲伤
    2021-02-19 04:30

    Garbage collection with LargeObjectHeapCompactionMode = CompactOnce may help to fix fragmentation.

    GCSettings.LargeObjectHeapCompactionMode = GCLargeObjectHeapCompactionMode.CompactOnce;
    GC.Collect();
    

提交回复
热议问题