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

后端 未结 4 571
醉梦人生
醉梦人生 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:30

    We found a bug in MAT recently where it would only see a subset of the heap: https://bugs.eclipse.org/bugs/show_bug.cgi?id=404679#c3

    The problem was that the JVM wrote a single HEAP_DUMP record that was more than 4GB and therefore the length in the header wrapped.

    What version of MAT are you running? Please try a more recent build.

提交回复
热议问题