tag:blogger.com,1999:blog-7353270.post7662414516050438586..comments2023-09-28T13:27:46.988+05:30Comments on Misc: Analyzing Memory Leak in Java Applications using VisualVMRejeev Divakaranhttp://www.blogger.com/profile/06702947675339940130noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-7353270.post-67211566014221638922016-01-16T11:39:14.563+05:302016-01-16T11:39:14.563+05:30Nice articleNice articleNK Jangrahttps://www.blogger.com/profile/12549579283995439215noreply@blogger.comtag:blogger.com,1999:blog-7353270.post-24769163585734147542015-08-19T04:11:19.379+05:302015-08-19T04:11:19.379+05:30Thanks for the post! Helped me a lot!Thanks for the post! Helped me a lot!Suchhttps://www.blogger.com/profile/13161423107901491052noreply@blogger.comtag:blogger.com,1999:blog-7353270.post-72147550806685662822015-05-30T07:52:07.846+05:302015-05-30T07:52:07.846+05:30Very helpful! Your blog post should be at the top...Very helpful! Your blog post should be at the top of the search results! Not only are your instructions clear, but they also work 6 years later! You have given me a lot of insight into how to use the VisualVM program and I think I found my memory leak. Thanks :)L.https://www.blogger.com/profile/14774959001278127482noreply@blogger.comtag:blogger.com,1999:blog-7353270.post-63789920619450192502015-03-10T03:50:17.885+05:302015-03-10T03:50:17.885+05:30Really helpful, thanks a lot for sharingReally helpful, thanks a lot for sharingAnonymoushttps://www.blogger.com/profile/16598775776664851474noreply@blogger.comtag:blogger.com,1999:blog-7353270.post-17039964325521333922014-01-17T18:19:48.722+05:302014-01-17T18:19:48.722+05:30This post is really helpfulThis post is really helpfulAnonymoushttps://www.blogger.com/profile/15093540832165483353noreply@blogger.comtag:blogger.com,1999:blog-7353270.post-64028678042373545442013-04-21T18:34:46.447+05:302013-04-21T18:34:46.447+05:30Thank you for the article. It was extremely helpf...Thank you for the article. It was extremely helpful. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7353270.post-55731364246679437122012-10-29T09:56:43.326+05:302012-10-29T09:56:43.326+05:30The sun link regarding "how to enable recordi...The sun link regarding "how to enable recording allocation stack trace" doesn't work. Here's the new Oracle link:<br />https://blogs.oracle.com/nbprofiler/entry/profiling_with_visualvm_part_2vineetmanoharhttps://www.blogger.com/profile/14310763768460244830noreply@blogger.comtag:blogger.com,1999:blog-7353270.post-216612565761781522011-01-25T21:13:54.096+05:302011-01-25T21:13:54.096+05:30Hello, great article, finally a clear explanation....Hello, great article, finally a clear explanation. I have a question, I am using VisualVM 1.3.1 and when I try the following :<br /><br />(14) Now come back to the tow snapshots with stack traces. Compare these two snapshots with allocation stack traces. Identify the methods where there is large difference in contribution to total count. These are the places where leaked objects are instantiated.<br /><br />I get the same type of compare view as I do when I just create regular snapshots (without the allocation stack traces), does anyone know why and how I can get the view that shows the methods? Thanks!InterstellarVoidhttps://www.blogger.com/profile/14299223499756884982noreply@blogger.comtag:blogger.com,1999:blog-7353270.post-86711343808476517552009-11-12T08:45:46.488+05:302009-11-12T08:45:46.488+05:30Gr8 atricle.
Fr those of you who are looking fo...Gr8 atricle. <br /><br />Fr those of you who are looking for the compare option, <br />"Compare Memory Snapshots" menu option is under the File menu option.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7353270.post-22238520831861201512009-07-17T05:54:37.592+05:302009-07-17T05:54:37.592+05:30To last Anonymous:
See "Profiling Memory"...To last Anonymous:<br />See "Profiling Memory" at<br />http://blogs.sun.com/nbprofiler/entry/profiling_with_visualvm_part_2 on how to enable recording allocations stack traces.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7353270.post-86796446617025848612009-07-01T20:27:34.408+05:302009-07-01T20:27:34.408+05:30nice :) thanks. just one question:
"11) Go ...nice :) thanks. just one question:<br /><br />"11) Go to the profiler tab again. Select the identified item in the previous step. Right click and select ‘Take snapshot and show allocation stack traces’."<br /><br />I'm using the v1.1.1 but I don't see the show allocation stack traces :( when I click right I just see: "stop profiling and log class history"Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7353270.post-18078185063355804312009-06-17T17:06:01.226+05:302009-06-17T17:06:01.226+05:30You can only the 'compare' option on v1.1....You can only the 'compare' option on v1.1.1 you can download it from https://visualvm.dev.java.net/download.htmlCraignoreply@blogger.comtag:blogger.com,1999:blog-7353270.post-74006023455786338062009-06-05T20:02:07.526+05:302009-06-05T20:02:07.526+05:30You've mentioned Select both of these snapshot...You've mentioned <i>Select both of these snapshots (in the left side pane, by using ‘ctrl’ button we can select multiple items), right click and select ‘compare’.</i><br />But I cannot find the 'compare' function in my visualvm version which comes with jdk1.6.0_12.<br />Can you help me out?Tom Strijmeersnoreply@blogger.comtag:blogger.com,1999:blog-7353270.post-29899206276260369442009-05-26T17:55:44.630+05:302009-05-26T17:55:44.630+05:30Thanks for posting this great article!Thanks for posting this great article!Lalithanoreply@blogger.comtag:blogger.com,1999:blog-7353270.post-89007472284892475342009-04-05T02:16:00.000+05:302009-04-05T02:16:00.000+05:30Nice article! But you are wrong when saying the to...Nice article! But you are wrong when saying the tool isn't part of JDK - it's available in the JDK as Java VisualVM (jvisualvm.exe) since JDK 6 Update 7.Jiri Sedlacekhttps://visualvm.dev.java.netnoreply@blogger.com