1

PerfViewを使用してメモリ リークの調査を行っており、これこのビデオをフォローしています。

ただし、調査しているサーバーは既にメモリの約 100% を使用しているため、GC ヒープをダンプしようとするOutOfMemoryExceptionと、ダンプ ファイルがまったく作成されません。PerfViewログ ファイルには次の内容が含まれます。

HeapDump Error: System.OutOfMemoryException: Exception of type System.OutOfMemoryException' was thrown.
at System.Collections.Generic.Dictionary`2.Initialize(Int32 capacity)
at System.Collections.Generic.Dictionary`2..ctor(Int32 capacity, IEqualityComparer`1 comparer)
at Graphs.MemoryGraph..ctor(Int32 expectedSize)
at GCHeapDumper.DumpDotNetHeapData(ClrHeap heap, ICorDebugProcess& debugProcess, Boolean isDump)
at GCHeapDumper.TryGetDotNetDump(Int32 processID)
at GCHeapDumper.CaptureLiveHeapDump(Int32 processID)
at GCHeapDumper.DumpLiveHeap(Int32 processID)
at Program.MainWorker(String[] args)

すべてのメモリが既に使用されている場合、メモリ ダンプを収集することはできますか?

4

0 に答える 0