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

This product reached the end of support date on March 31, 2021.

How to get stack trace from a memory dump?

essivi_dalmeida
Newcomer
 
1 REPLY 1

andreas_grabner
Dynatrace Guru
Dynatrace Guru

Not sure which Stack Trace you want to capture. Do you mean a Stack Trace that shows WHERE these objects got allocated? If that is the case then you have to go a different route. The Memory Dump feature gives you an overview of which objects you have on your Heap. The Full Memory dump also shows you object references and allows you to figure out which object is holding on to which other object.

if you want to see WHERE an object got allocated you need to leverage our "Memory Sensor Rules" where you can explicitly define rules for Dynatrace to track certain classes and their object instantiations including the method that allocated them.

If you want to learn more check out these two assets:

* Blog: https://www.dynatrace.com/blog/hands-tutorial-5-st...

* YouTube Tutorial: https://www.youtube.com/watch?v=SWy83EW_xhk&index=...

Andi