13

How to find memory leak in java using JProfiler? I have been working in JProfiler for the past 1 week to find memory leak in a web application. I read some manuals and see some articles, it says see the memory usage in all objects and allocated objects views and using the allocation hot spot you can find the memory leak. I looked into it and found lot of memory used by char, string, bytes. Since i am a fresher i don't know how to figure this and solve the memory leak. Please help me over this ..

Thanks in advance...

Ronald Randon
  • 1,141
  • 3
  • 13
  • 19
  • Here it is [http://stackoverflow.com/questions/40119/how-to-find-a-java-memory-leak] is already discussed. – Java Mar 20 '12 at 05:14

1 Answers1

10

See this screen cast about finding memory leaks with JProfiler.

Ingo Kegel
  • 46,523
  • 10
  • 71
  • 102
  • thanks for the video it is great, but my left side menu is different with yours, it is Live Memory, Heap Walker, CPU views, Threads etc. And when I was following the video and right clicked on the object could not find "Take heap snapshot for selection", rather the first option is "Show selection in Heap Walker". Do you know of any other video for profiling of Java Web Applications with newest version of JProfiler which is to date 8.0.5? – Jack May 14 '14 at 01:46
  • 1
    "Take heap snapshot for selection" and "Show selection in Heap Walker" are the same action. – Ingo Kegel May 14 '14 at 08:29
  • Here is the new video link: http://blog.ej-technologies.com/2017/03/finding-memory-leak-with-jprofiler.html – Ankit Soni Aug 30 '17 at 10:46