Questions tagged [eclipse-mat]

The Eclipse Memory Analyzer is a fast and feature-rich Java heap analyzer that helps you find memory leaks and reduce memory consumption.

The Eclipse Memory Analyzer is a fast and feature-rich Java heap analyzer that helps you find memory leaks and reduce memory consumption.

Use the Memory Analyzer to analyze productive heap dumps with hundreds of millions of objects, quickly calculate the retained sizes of objects, see who is preventing the Garbage Collector from collecting objects, run a report to automatically extract leak suspects.

Related Links:

56 questions
1
vote
1 answer

Eclipse MAT tool thread display

As a beginner of MAT tool, I am using it to analyze some issue. But I have no idea what it means for those threads under a class instance. Just as the picture shows (under the leak suspects tab). Does it mean, those threads are waiting for the…
Xing321
  • 11
  • 1
1
vote
2 answers

Potential memory leak of bitmap reported by heap analysis tools but no bitmaps used by App

My App is running fine (i.e. no crashes). During testing I have been investigating memory use. I use Android Studio (AI-141.2006197) DDMS to output a Dump HPROF file then open it in the Eclipse Memory Analyzer. This tool describes a leak…
pbm
  • 5,081
  • 4
  • 18
  • 31
1
vote
1 answer

how to dig into this memory leak with eclipse MAT further

I have an issue where a ScheduledThreadPoolExecutor ends up with 3 million future tasks. I am trying to see what type of task so I can go to where that task is scheduled, but I am not sure how to get any info from this screen(I have tried right…
Dean Hiller
  • 19,235
  • 25
  • 129
  • 212
0
votes
1 answer

How to convert LocalDateTime to human readable string in OQL

I am trying to create an OQL query in Eclipse MAT to select a bunch of objects from a Java heapdump with LocalDateTime fields. Simply calling the .toString() function of the object just returns the object address, e.g. this: SELECT…
Leprechaun
  • 852
  • 6
  • 25
0
votes
0 answers

Using eclipse Memory Analyzer(MAT) in batch mode and stuck at a subtask

I'm using batch mode to analyze an hprof file, but I'm encountering an issue. I am using JDK 8, MAT version 1.11.0 (I have downloaded versions 1.12.0 and later, but they indicate that JDK 8 is not supported), and I am on macOS (Intel). Initially,…
0
votes
1 answer

How to understand this eclipse MAT data?

show picture the sum of all node is 399MB, but the every node is small, how to understand ??? (This is a java application memory hprof snapshot, a screenshot of using eclipse mat for memory analysis) How to understand this eclipse MAT data?
heson
  • 1
  • 1
0
votes
0 answers

It takes up a lot of heap memory at 'finalizer' & 'weblogic.application.metadatacache'

Thank you for your inside. my project using jdk 1.8 oracle 19c apache server weblogic 14c was spring 5.2 jsp 2.3 About 1000 users are using it at the same time. I set the heap memory to be very large. If I do not restart the server, the heap memory…
0
votes
0 answers

How to find references to unreachable_objects via heap file?

My java application is frequently used in fullgc. I use jmap -dump:file=xxx to get a heap file. After using the mat tool for analysis, I can't find the problem, but I find that there are many 'unreachable_ Objects' is about 1g. I want to know which…
Feng Kai
  • 21
  • 3
0
votes
1 answer

Eclipse MAT report is only listing top 10 objects

I'm analyzing my heap using MAT and looking at a few helpful reports. For example this report lists the possible memory wastes in empty collections. MAT version: 1.11.0 Here as you can see from the screenshot, each item in the report is only listing…
OrlandoL
  • 898
  • 2
  • 12
  • 32
0
votes
2 answers

How to get Eclipse MAT memory leak suspect report in JSON/XML format?

I am trying to add Java memory profiling into my devops pipeline. I am using Eclipse MAT command line script for this purpose. Once I provide the hprof file as input to this and it generates suspect report. I need to parse this HTML report and make…
JavaUser
  • 25,542
  • 46
  • 113
  • 139
0
votes
1 answer

org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]

I am trying to use eclipse MAT tool on Linux (ubuntu 18.04) and getting the below error: root@xxx/var/lib/jenkins/workspace/Heap_Analysis/mat# ./MemoryAnalyzer Unable to init server: Could not connect: Connection refused Unable to init server: Could…
Manni
  • 27
  • 1
  • 7
0
votes
1 answer

Out-of-memory : Metaspace

I am getting Out-of-memory in Metaspace. As I understood after googling that Out-of-memory in Metaspace error comes could be due to the leak in Classloader. So, for this I started analyzing the Heap dump in Eclipse MAT and opened 'Class Loader…
Sam
  • 244
  • 2
  • 5
  • 20
0
votes
1 answer

Eclipse MAT thread attributes

I have Liferay 6.1.2 CE application deployed to Jboss EAP 6.4 I am trying to analyze heap dump using Eclipse MAT after server crashed by OOM. In dominator tree I see couple of threads that occupying a lot of memory. My question what do parkBlocker…
David Abragimov
  • 524
  • 2
  • 6
  • 24
0
votes
1 answer

Can Eclipse MAT's ParseHeapDump utility run OQL?

Typically I use Eclipse MAT GUI to run OQL on a heap dump to extract data. I was just wondering if there is any way to run any OQL with ParseHeapDump utility? Basically, I wanted to go beyond those four standard reports and run my own OQLs to find…
suv3ndu
  • 221
  • 5
  • 12
0
votes
1 answer

Thread Stack to file via MAT OQL

I know there is way we can get Thread details and more from the MAT UI, but is there a way one can get those stack(s)(similar to thread dump) redirected to output or run any OQL query to get the same? We have pretty huge HeapDump (around 16G) which…
VishwanathB
  • 139
  • 2
  • 10