title: How to view memory allocation stacktrace in Java VisualVM
body: <p>This article describes how to view memory allocation stacktrace in Java VisualVM: <a href="http://rejeev.blogspot.de/2009/04/analyzing-memory-leak-in-java.html">http://rejeev.blogspot.de/2009/04/analyzing-memory-leak-in-java.html</a></p>
  
  <p>In short, define a custom preset in the Java VisualVM options and check the <strong>"record allocations stack traces" checkbox</strong> in the memory settings tab. </p>
  
  <p>Now, when I select that custom preset and start memory profiling, I still cannot view the memory allocation stacktrace. There is no right-click-on-item action <strong>"Take snapshot and show allocation stack traces"</strong> as described in the article, nor a anything like that. I am using VisualVM 1.7.</p>
  
  <p>How can I view these allocation stack traces?</p>