• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by raja k. · Jan 13, 2014 at 09:59 PM · diagnostics

Diagnosing Large Object Heap Fragmentation using Dynatrace memory snapshot

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?

 

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Reply

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Andreas G. · Jan 13, 2014 at 10:58 PM

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

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

how you use world map and UEM any use cases samples?

OQL on Memory Leak Analysis

purepath tree is not showing the drilldown of webserver

analyzing high number of page faults

Determine which sensor is capturing data

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A