How to view memory allocation stacktrace in Java VisualVM

后端 未结 2 1287
误落风尘
误落风尘 2020-12-17 15:04

This article describes how to view memory allocation stacktrace in Java VisualVM: http://rejeev.blogspot.de/2009/04/analyzing-memory-leak-in-java.html

In short, defi

相关标签:
2条回答
  • 2020-12-17 15:53

    Enable Memory profiling in Sampler tab, then press a Heap Dump button.

    0 讨论(0)
  • 2020-12-17 15:54

    If you can't see this option, go to Profiler -> activate "Settings" check box and activate "Record allocation stack traces" while the profiler is not active.

    0 讨论(0)
提交回复
热议问题