How to view memory allocation stacktrace in Java visual VM

This article describes how to use Java visualvm: http://rejeev.blogspot.de/2009/04/analyzing-memory-leak-in-java.html View memory allocation stack trace in

In short, define a custom preset in the Java visual VM options and check the "record allocation stack trace" check box in the memory settings tab

Now, when I select the custom preset and start memory analysis, I still can't view the memory allocation stack trace There is no right - click Project Operation "snapshot and display allocation stack trace", as described in the article, nor any similar content I use visual VM 1.7

How do I view these allocation stack traces?

Solution

Enable memory analysis in the sampler tab and press a heap dump button

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>