• 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 Simon H. · Sep 03, 2015 at 02:20 PM · plugins rest

set alert in case of Memory Leak

Hello community,

we have a memory leak problem. Now we basically try to set an alert if the heap memory rises over a threshold.

Because of the many GCs of the JVM it is no use to just monitor the used heap memory. Periodically memory dumps are due to the huge infrastructure and server count not possible.

Is there a easy way to only get the used memory after a GC is done? In that case, we would get a graph like drawn below and see if the memory is increasing step by step and the GC frees less and less memory.

I appreciate every idea and help. May be we just overlooked some functionality of dynatrace.

Greetings

Simon

chart.png (6.2 KiB)
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 Nishant R. · Oct 02, 2015 at 05:20 PM

Hi Simon,

Have you taken memory snapshots to see which classes instance counts are increasing? if so then you can place memory sensors on these and actually chart these in a chart to show them growing over time and set alerts on these if you wish. Another way is to create an alert on the Garbage collection itself. Under the JVM measures in Dynatrace you can see young generation and old generation and set thresholds based on this. Also if you wish in 6.1 > versions you of Dynatrace you can use a measure under JVM called High memory usage for application process which returns the % of Committed memory vs Max memory and set an alert to see when your memory is rising.

Hope this helps.

Nishant

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

2 People are following this question.

avatar image avatar image

Related Questions

DynaTrace 6.3 and Jenkins 1.625.3 connectivity issue

How to correlate returned value and hosts names and metrics?

Bespoke plugin failing

Can I put data into dynatrace after extracting via REST

Export custom xml from dashboard

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