Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » MAT report from command line(I would like to run MAT to generate report from command line)
MAT report from command line [message #1795079] Fri, 14 September 2018 07:34 Go to next message
Mikolaj Habdank is currently offline Mikolaj HabdankFriend
Messages: 3
Registered: September 2018
Junior Member
I have a report which I would like to use to dump values from objects to text file. I tried this:
./MemoryAnalyzer -application org.eclipse.mat.api.parse ~/Documents/heapdump/JMAP_PID_8856.hprof ~/Documents/heapdump/report1.xml
Task: Reopening parsed heap dump file
[.........]
Subtask: Test 'record ids' of section 'Record Id'
[
Subtask: SELECT l.specificRecord.record_id.value FROM OBJECTS ( SELECT OBJECTS a.@referenceArray FROM OBJECTS 1112896 a ) l
[
Subtask: SELECT OBJECTS a.@referenceArray FROM OBJECTS 1112896 a
[]
but I'm not getting any records as an output on stdout even if in Eclipse MAT Application when I click Run Report I can see output like:
Record Id
l.specificRecord.record_id.value
2.440.849.808.290.001.340
Any hint how to run custom report from command line?
Re: MAT report from command line [message #1795113 is a reply to message #1795079] Fri, 14 September 2018 19:13 Go to previous message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
Did running that command generate a file named something like this?
~/Documents/heapdump/JMAP_PID_8856_Report_Id.zip


There should be a zip generated with all the files for the HTML report in the same directory as the dump.
Previous Topic:MAT report with all rows from query (more than 25)
Next Topic:MAT dependency
Goto Forum:
  


Current Time: Thu Apr 25 09:08:59 GMT 2024

Powered by FUDForum. Page generated in 0.03539 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top