cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GC suspension heap old gen spike

shahrukh_niazi
Contributor

Is there an easy way to trigger a heap dump when an alert condition is breached in ONEAgent Dynatrace?.

 

We randomly see spikes in heap used old gen, gc suspension spikes in our docker container. Heap is set to 9Gb. Many APIs are being used in the container. Sometimes OOM conditions happens fast, docker instance crashes and immediately start a new one.

 

The only reliable way to see what is growing inside the heap is to take a heap dump. But by the time any memory dump can be manually Tigger, new docker instance is started 

 

Can i trigger a heap dump *automatically* on say when heap grows >65% via api, how? 

 

 

1 REPLY 1

ChadTurner
DynaMight Legend
DynaMight Legend

You can trigger Memory Dumps but you will need an AG to support this. https://www.dynatrace.com/support/help/how-to-use-dynatrace/diagnostics/memory-dump-analysis/configu... 

-Chad

Featured Posts