How to find a Java Memory Leak

后端 未结 11 1073
遇见更好的自我
遇见更好的自我 2020-11-22 07:48

How do you find a memory leak in Java (using, for example, JHat)? I have tried to load the heap dump up in JHat to take a basic look. However, I do not understand how I am s

11条回答
  •  我寻月下人不归
    2020-11-22 07:59

    Checkout this screen cast about finding memory leaks with JProfiler. It's visual explanation of @Dima Malenko Answer.

    Note: Though JProfiler is not freeware, But Trial version can deal with current situation.

提交回复
热议问题