eclipse memory analyzer sees small part (363,2MB) of entire heap dump (8GB)

后端 未结 4 575
醉梦人生
醉梦人生 2020-12-16 03:54

I was trying to investigate java.lang.OutOfMemoryError: GC limit exceeded which occurs at high load of our web app deployed in tomcat. Heap size was set to 8GB

4条回答
  •  没有蜡笔的小新
    2020-12-16 04:27

    MAT does not display the unreachable objects by default.

    You can enable the option by going to Preferences -> Memory Analyzer -> Keep Unreachable Objects. Load the heap again once the option is enabled.

    It will show the complete heap once the option is enabled. Even I was in same situation and was not able to get much information online and my manager showed me the option.Hope it helps.

提交回复
热议问题