Hi,
we observed a memory leak in one of the the app and took process dump and found from windbg that fragmentation within large object heap is the cause for that.
270 MB under Free within Large Object heap spanned across bulk of objects indicating high fragmentation , No custom objects in the large object heap
How can i get this information from dynatrace?
Answer by Andreas G. ·
If you want these two metrics in a dynaTrace dashboard you can simply create a custom Windows Performance Measure for your .NET Agent. The Large Object Heap size measure is actually already available out-.of-the-box. It is called ".NET Memory Consumption (Large Object Heap Size)". If you also want the second measure simply go into your System Profile -> Measures > Create Measure. To make things easy you select one of the predefined .net memory counters such as .NET Memory Consumption (Large Object Heap Size). The only thing you need to change there is the name of the measure to e.g: "# Bytes in all Heaps" and the name of the Performance Counter. That also needs to be changed to "# Bytes in all Heaps" because this is the Windows Performance Counter you want to query. After you click Add you can add these two measures to your custom chart in a dynaTrace dashboard.
More information on windows performance counters in dynatrace can be found here: Windows Performance Monitor
If you want to get more details on the actual objects on the heap you can create a memory dump where you are able to see and inspect all objects on the Heap. More information on that can be found here: Memory Diagnostics
JANUARY 15, 3:00 PM GMT / 10:00 AM ET